They should talk to an advisor and get the answer from the school. It may need to be repeated although credit is given for both a 3 and 4.
I’ll tell you this - calc 2 was much more difficult according to my son and he wishes (had a 5 in AB) that he listened to the student panel at Col School of Mines that said to repeat major oriented classes and to not take the credit. AP, DE and CC typically don’t equal the rigor of the four year school. My kid didn’t listen because like all, wanted the credit and had to WD.
Talk to the school though. Good luck.