Hi,
Attached is solution diagram. You can see that true breeding means both have same alleles for purple PP and white WW flowers.
They were crossed to produce hybrid plants that all had purple flowers PW because purple was the dominant trait.
However, upon self fertilization of those hybrid plants, both purple and white flower plants were produced in 3:1.
Hope it helps!