Given that p-2q over p+2=3q ,express q in terms of p.

The answer is
C. p over 3p+8

I cant get the steps..help me

2 answers

(p-2q)/(p+2) = 3q
p-2q = 3q(p+2)
p = 2q+(3p+6)q
p = (3p+8)q
q = p/(3p+8)
Given that P=2q and 2r=3q express 2p✓r in terms of P only