2 week old constipated

Ka

My newborn is formula fed and breastfed. Lately my milk supply has been down so I been mostly formula feeding and my son is constipated. His poo is a little hard clay texture feeling. Any help? I’ve cut off the formula and am trying to just breastfeed now.