Answer
Yes, $5\times2$
Work Step by Step
If the dimensions of matrix A are $a\times b$ and the dimensions of matrix C are $c\times d$, then AC is defined if $b=c$ and then AC has dimensions $a\times d.$
Hence here the requirement is satisfied, and thus AB has dimensions $5\times2$.