Answer:
Parents genotypes are: Pp (purple) and pp (white).
Top left box: Pp
Top right box: pp
Bottom left box: Pp
Bottom right box: pp
So because of this you have 50% purple and 50% White
Hope this helps :D
(The second one is similar but with both parents being Pp so it’s 100% purple 0% white)