Write the equation of the image of the parabola $y=x^2-2x+1$ under a translation $\vec{p}=\hat{i}+3\hat{j}$ Write the equation of the image of the parabola $y=x^2-2x+1$ under a translation $\vec{p}=\hat{i}+3\hat{j}$

$y=(x-1)^2$ is a parabola whose vertex is $(1,0)$ and focus is $(1,\frac{1}{4})$.I dont know how to solve further.

$p(x,y)=(x,y)+(1,3)=(x+1,y+3), \quad p(x,y)^t=(x+1,y+3)^t$ so $p$ can be seen as a matrix 
$\pmatrix{1 & 0 & 1\\ 0 & 1 & 3 \\ 0 & 0 & 1}$ which is $\pmatrix{1 & 0 & 1\\ 0 & 1 & 3 \\ 0 & 0 & 1}\pmatrix{x \\ y \\ 1}=\pmatrix{x+1 \\ y+3 \\ 1}$ 
so for $y=(x-1)^2$ it is 
$\pmatrix{1 & 0 & 1\\ 0 & 1 & 3 \\ 0 & 0 & 1}\pmatrix{x \\ (x-1)^2 \\ 1}=\pmatrix{x+1 \\ (x-1)^2+3 \\ 1}$
so $y'=(x-1)^2+3=x^2-2x+4=(x'-1)^2-2(x'-1)+4=x'^2-4x'+7$
