$$\begin{array}{ll} \text{maximize} & \dfrac{2x_1 - 2x_2 - 2}{x_1 + 3x_2 + 4}\\ \text{subject to} & -x_1 + x_2 \leq 4\\ & 2x_1 + x_2 \leq 14\\ & x_2 \leq 6\\ & x_1 \geq 0\\ & x_2 \geq 0\end{array}$$
I want to obtain a linear problem by introducing new variables. Then it will be possible to solve it. Unfortunately, I have no idea how to introduce these variables.
In general, when we have
$min z=\frac{px+a}{qx+d}$
s.t. $Ax<=b $ , $x>=0$
We changed problem by $z=\frac{1}{qx+d}$ and $y=zx$
Then the original problem changed to:
$ min z= py+az$
s.t.$Ay<=bz$
$qy+dz=1$
$y>=0$
$z>=0$