If the mean of the given data is 20.2, then find the value of p

If the mean of the given data is 20.2, then find the value of p.
image

The product of observations and its frequencies are given below
image
image
Firstly, draw two perpendicular llines.