Projection/Minimal polynomial/Exercise

Let be a finite-dimensional -vector space, and let

denote a projection. Show that the minimal polynomial of is either , or , or .