Solve for p (p+2)/(p+7)=3/6