On a related note, my niece recently went to graduate school in a discipline that required more math than her arts undergraduate. The graduate school required she take and retake several math classes although they accepted her degree. And this was in the same school system.
The schools aren’t going to let you launder credit through a third party.