Following is a soccer field with its dimensions.

There is a similar field, but I am capturing coordinates via mouse-movement. So, what (115,75) shows here, is 567.5,369 when I capture the coordinates when the mouse moves. How could I convert a general coordinate (x,y) to (x1,y1) where x1 and y1 are the coordinates in yards.
So you want an affine transformation $L\colon\Bbb R^2\to\Bbb R^2$ that maps
Since $L$ is supposed to be affine, it can be written in the form $L(x)=Mx+v$ where $$M=\begin{pmatrix}M_{1,1}&M_{1,2}\\ M_{2,1}& M_{2,2}\end{pmatrix}\in\Bbb R^{2\times 2}\qquad \text{ and }\qquad v=\begin{pmatrix} v_1\\ v_2\end{pmatrix}\in\Bbb R^2,$$
So,
It follows that $$L\begin{pmatrix}x_1\\ x_2\end{pmatrix}=\begin{pmatrix} \frac{a_1-a_0}{x_1}&\frac{a_2-a_0}{y_2}\\ \frac{b_1-a_0}{x_1}&\frac{b_2-a_0}{y_2}\end{pmatrix}\begin{pmatrix}x_1\\ x_2\end{pmatrix}+\begin{pmatrix}a_0\\ b_0\end{pmatrix}$$ is the transformation you are looking for.