\(\left(x+y\right)\left(2x-y\right)=1002\)
\(x.2x-xy+y.2x-y^2=1002\)
\(3x-\left(xy-y.2x+y^2\right)=1002\)
\(3x-y\left(x-2x+y\right)=1002\)
\(3x-y\left(-x+y\right)=1002\)
\(3x-\left(-yx+y^2\right)=1002\)
\(3x+yx-y^2=1002\)
\(x\left(3+y\right)-y^2=1002\)