For the first matrix, your work is all correct.
We need to find a generalized eigenvector.
One approach to this (did you learn why in class), is to setup:
$$[A - \lambda I]v_2 = v_1$$
I am going to write the eigenvector with the signs swapped for the first one.
We have $v_1 = (-1, 1)$, so we would get:
$$[A -\lambda I]v_2 = v_1 \rightarrow \begin{bmatrix}1 & 1\\-1 & -1\end{bmatrix}v_2 = \begin{bmatrix}-1\\1\end{bmatrix}$$
Solving this (use RREF), we get a second linearly independent eigenvector of:
$$v_2 = (-1, 0)$$
The matrix $P$ is formed as linear combination of the eigenvectors as $[v_1 | v_2]$, so we get:
$$P = [v_1 | v_2] = \begin{bmatrix}-1 & -1\\1 & 0\end{bmatrix}$$
This will lead to the Jordan Normal Form for the upper triangular matrix as:
$$J = P^{-1}AP = \begin{bmatrix}3& 1\\0 & 3\end{bmatrix}$$
Also note, there are other methods available and sometimes required over the method outlined above.
Can you use the method above for your second problem and see if it bears fruit?
For example, we find two eigenvalues of $\lambda_1 = 2 and \lambda_{2,3} = 0$. For the $\lambda_{2,3} eigenvalue, we will have a row-reduced-echelon-form of:
$$a+b+c = 0$$
We need two linearly independent choices and have a lot of free variables to choose from. For example, we can choose:
$$v_2 = (-1, 0, 1), v_3 = (-1, 1, 0)$$
For the $\lambda_1=2$ eigenvalue, we form:
$$[A-\lambda_1 I]v1 = 0$$.
After RREF that matrix, we arrive at: $v_1 = (1,1,0)$
Recall, you have to do this process over for EACH eigenvalue!
So, to summarize, we should arrive at (no generalized eigenvectors needed because of geometric and algebraic multiplicity):
$$\lambda_1 = 2, v_1 = (1, 1, 0)$$
$$\lambda_2 = 0, v_2 = (-1, 0, 1)$$
$$\lambda_3 = 0, v_3 = (-1, 1, 0)$$