I can’t seem to be able to matrix multiply each variable so that the output of a_next and c_next have a shape of (5, 10). Can someone help me by giving me the dimensions of each of the variables in that exercise since there are so many parts?

Dw, i fixed the issue. I used a numpy function instead of multiplication.