We know that J=L+S and the values range from J=L+S to J=|L-S|. So then in this case we confirm that its 2,1 and 0.
The value J=2 corresponds to when they are parallel and in the same direction, then its only the sum 1+1=2.
The value J=0 corresponds to 1-1=0, when they are parallel but opposite directions.
Finally the value J=1 would be when they are perpendicular to each other.