Erm, the above motor picture isn’t a suggestion for you to use. But instead a reference of where and what to measure so that we understand.
Depth and height can be misleading. So by telling us the size of the reference picture along with your motor size, we will all be on the same page:)