Transfer Credit Question

Howdy,
I’m currently a full time electrical engineering student at a&m. I took physics 208 at blinn for transfer credit because I heard it was easier than the actual course at A&M, but I severely underestimated it, couldn’t drop it, and ended up with a D in the class. If I retake it at Blinn again and end up with a C or better, will tamu still accept the credit even though I got a D the first time?