(p/2)/5+(q/2)/2=1, ((q-q/2)/(p-p/2))(-2/5)=-1