<s>[INST] What transformation maps $y=\frac{1}{4}x-2$ to $y=-3x+6$? What transformation maps $y=\frac{1}{4}x-2$ to $y=-3x+6$?
I have tried many things, rotating around the origin, reflecting about common lines, and nothing seems to work.
Any help is appreciated. Thanks!
 [/INST] Have a look at the geometrical situation:

(Large version)
We have 
$f(x) =\frac{1}{4}x-2$ (green line) and $g(x) =-3x+6$ (red line).
We see that a rotation around the intersection $A$ of both lines would do most of the job.
Easiest, rotations around the origin are formulated, so we 


*

*first translate the scene such that $A$ turns into the origin $O$ via $T$, then 

*rotate the line of $f$ into the line of $g$ via $R$ around the origin, and finally 

*retranslate the origin $O$ to $A$ again via $T^{-1}$.


These individual transformations compose into the transformation
$$
M = T^{-1} R T
$$
In Detail:
As we want to use translations, in other words: affine transformations, and still use the convenient matrix formulation, we use homogeneous coordinates $u = (x, y, 1)^\top$. 
Then the transformation matrices are:
$$
T =
\begin{pmatrix}
1 & 0 & -a_x \\
0 & 1 & -a_y \\
0 & 0 & 1
\end{pmatrix}
$$
where $A = (a_x, a_y)$. Test:
$$
T u = 
\begin{pmatrix}
1 & 0 & -a_x \\
0 & 1 & -a_y \\
0 & 0 & 1
\end{pmatrix}
\begin{pmatrix}
x \\
y \\
1
\end{pmatrix}
=
\begin{pmatrix}
x-a_x \\
y-a_y \\
1
\end{pmatrix}
$$
so $T(u_A) = (0,0,1)^\top$, as desired. The rotation around the origin about an angle $\varphi$ is
$$
R = 
\begin{pmatrix}
\cos(\varphi) & -\sin(\varphi) & 0 \\
\sin(\varphi) & \cos(\varphi) & 0 \\
0 & 0 & 1
\end{pmatrix}
$$
The inverse transformation of $T$ is
$$
T^{-1} =
\begin{pmatrix}
1 & 0 & a_x \\
0 & 1 & a_y \\
0 & 0 & 1
\end{pmatrix}
$$
Calculation of the parameters:
We can describe the two lines by
\begin{align}
(1/4) x - y &= 2 \\
3x + y &= 6
\end{align}
which we can solve as
$$
\left[
\begin{array}{rr|r}
1/4 & -1 & 2 \\
3 & 1 & 6
\end{array}
\right]
\to
\left[
\begin{array}{rr|r}
1 & -4 & 8 \\
3 & 1 & 6
\end{array}
\right]
\to
\left[
\begin{array}{rr|r}
1 & -4 & 8 \\
0 & 13 & -18
\end{array}
\right]
\to
\left[
\begin{array}{rr|r}
1 & -4 & 8 \\
0 & 1 & -18/13
\end{array}
\right]
\to
\left[
\begin{array}{rr|r}
1 & 0 & 32/13 \\
0 & 1 & -18/13
\end{array}
\right]
$$
thus $A = (32/13,-18/13) = (2.4615,-1.3846)$.
We can determine the angle between the lines from
$$
d_f \cdot d_g = \cos(\angle(d_f, d_g)) = \cos(-\varphi)
$$ 
and the unit direction vectors of the lines, which are
$$
d_f 
= \frac{(1, 1/4)^\top}{\lVert (1, 1/4) \rVert} 
= \frac{(4,1)^\top}{\sqrt{17}}
$$ 
and 
$$
d_g 
= \frac{(1,-3)^\top}{\lVert (1,-3) \rVert}
= \frac{(1,-3)^\top}{\sqrt{10}}
$$
so $\varphi = -\arccos(1/\sqrt{170})=-85.6^\circ$.
</s>