Application of Linear Law to Non-linear Relations

Given x and y are related by the equation xy=px+q/x where p and q are constant.A straight line graph is obtained by plotting y against 1/(x^2),it passes through the points (0,0.5) and (4,-2.5).calculate the value of p and q.