If purple (P) is dominant to white (p) and axial (A) is dominant to terminal (a), and in a cross of white, axial to purple, axial the ratio of offspring is 3/8 white, axial; 1/8 white, terminal; 3/8 purple, axial; 1/8 purple, terminal, then what is the genotype of the parents?