The equation is an expression of the principle known as Hardy-Weinberg equilibrium, which states that the amount of genetic variation in a population will remain constant from one generation to the next in the absence of disturbing factors.
Meiosis is used to to make sex cells.
Mitosis is used to make regular cells for you body.
Pp is the genotype because you know purple must have a gene of purple, which it says is dominant. If the white is recessive, the purple with dominate the white.