Calculate the value of p in the diagram below

Answer:
40.5
Step-by-step explanation:
(n-2)*180
(7-2)*180=5*180=900
10p+135+149+121+90=900
10p=-495+900=405
p=40.5