Solve for p -1/2(6p+16)=7