The first question is:
Let $f$ be an endomorfism of an $n$-dimensional vector space $V$ with $n$ different eigenvalues. How does one show that $V$ has precisely $2^n$ subspaces which are $f$-invariant?
The second questions is:
Let $f$ be a nilpotent endomorfism of a 3-dimensional $\mathbb{R}$-vectorspace $V$. How does one show that $f$ has infinitely many $f$-invariant subspaces iff $f^2 = 0$.
I tried answering these questions by playing around with the using the definitions of the relevant concepts (endomorfism, nilpotence, et cetera) but I couldn't figure them out.