10 day old poo? Blood+mucus

Baby is 10 days old, breast and formula feed, seems very constipated and this is what he’s gotten out after crying in pain.. should I be concerned? Solid,mucus&bloody