A pea plant with purple flowers, when crossed with a plant with white, produced 50 plants with only purple flowers. On selfing these plants produced 482 plants with purple flower and 162 with white flowers. Explain the pattern of inheritance with the help of Punnett square.