Answer:
Homozygous dominant: PP recessive: pp
Step-by-step explanation:
The easiest way to resolve this is by drawing Punnetts squares.
First, you know the F0 is composed of a horned male (to be horned it has to be recessive, so pp) and a polled female (this one could de PP or Pp).
All F1 results polled. If you draw Punnett's square, you'll discover to have all polled female has to be dominant PP.
pp x PP = Pp Pp pP pP = 100% Pp
The alleles of all F1 offspring will be Pp. If you cross two F1 your probabilities are:
Pp x Pp = PP Pp pP pp = 25% PP 50% Pp 25%pp
This means, 25% of the offspring have horns on F2.