Plato and the correlation with philosophy and mathematics

Plato thought that before doing philosophy, people should learn to do mathematics. How does studying mathematics prepare somebody for doing philosophy? How would studying mathematics prepare people to understand and accept Plato’s theories in particular?

Must be about 300 words.