Use "^" to denote exponentiation: "(x-1)^2" instead of "(x-1)2".
The x is squared, so the parabola opens up or down. The vertex form of the equation I prefer to use is
In this form, the vertex is (h,k); and p is the directed distance (i.e., can be negative) from the directrix to the vertex and from the vertex to the focus. With that form of the equation, 4p is the length of the latus rectum.
Put the given equation in that form:
That gives us (h,k)=(1,-2) and p=1/2.
Use the vertex and the value of p to find the focus and the directrix.