5. The curve \(C\) with equation \(y = ( 2 - x ) ( 3 - x ) ^ { 2 }\) crosses the \(x\)-axis at the point \(A\) and touches the \(x\)-axis at the point \(B\).
- Sketch the curve \(C\), showing the coordinates of \(A\) and \(B\).
- Show that the tangent to \(C\) at \(A\) has the equation
$$x + y = 2 .$$