The area of a triangle is given by the formula

, where B is the base and h is the height. We can rearrange this formula to solve for B.

.
We plug in the given area, 640 square millimeters, and the given height, 32 millimeters.

.
40 mm is our final answer.