$E_1\colon 2x + y - z = 5$ und $E_2\colon x - y + 2z = 1$.
Eine Variable wird frei, wir setzen $z = t$ und erhalten ein LGS mit drei Gleichungen:
$$\left(\begin{array}{l} 2x + y - z = 5 \\ x - y + 2z = 1 \\ z = t \end{array}\right)$$
(III) in (I) und (II) einsetzen:
$$\left(\begin{array}{l} 2x + y = 5 + t \\ x - y = 1 - 2t \\ z = t \end{array}\right)$$
Addition (I) + (II) eliminiert $y$ — das Ergebnis ersetzt (I):
$$\left(\begin{array}{l} 3x = 6 - t \\ x - y = 1 - 2t \\ z = t \end{array}\right)$$
(I) nach $x$ umstellen, (II) nach $y$ umstellen:
$$\left(\begin{array}{l} x = 2 - \tfrac{1}{3}\,t \\ y = x - 1 + 2t \\ z = t \end{array}\right)$$
(I) in (II) einsetzen: $y = \left(2 - \tfrac{1}{3}t\right) - 1 + 2t = 1 + \tfrac{5}{3}\,t$
$$\left(\begin{array}{l} x = 2 - \tfrac{1}{3}\,t \\ y = 1 + \tfrac{5}{3}\,t \\ z = t \end{array}\right)$$
Parameterform ablesen — Stützpunkt (konstanter Teil): $S(2|1|0)$. Richtungsvektor (Koeffizienten bei $t$): $\pmat{-1/3\\5/3\\1}$
Richtungsvektor ganzzahlig skalieren (mit $3$ multiplizieren, ändert die Richtung nicht): $\pmat{-1\\5\\3}$
$g\colon \vec{x} = \pmat{2\\1\\0} + t \cdot \pmat{-1\\5\\3}$