Both Fannie Mae and Freddie Mac are government-sponsored enterprises (GSEs) involved in the secondary mortgage market. While they are not government-owned enterprises, they were created by the U.S. government and have special privileges and ties to the government.
So, the correct answer is:
a) Fannie Mae and b) Freddie Mac