Solve for p (4p)/6+27=39