Solve for x (2x+p)/q=(2x+q)/p