Make p the subject of the formula

P²= (p-q)(p-r)

Make p the subject

P=(p_q)(q_r)