Solving cubic equations can be long, so a full analysis of the method is tedious. Here are the first steps :
1. write your equation this way : y^3 - 5y^2 +7y - 3 = 0
2. get rid of the y^2 term using the binomial thm
3. solve y^3 + qy + r =0 ( where q and r are real) using this method :
let y = x + z. Hence x^3 + z^3 + (3xz+q)y + r = 0
If we further suppose that : 3xz + q = 0 we obtain :
x^3 + z^3 = -r and (z^3)(x^3) = (q^3)/(-27)
hence, x^3 and z^3 are the roots of the quadratic t^2 + rt - (q^3)/27 = 0
solving this equation and putting :
x^3 = -r/2 + Sqrt((r^2)/4 + (q^3)/27)
z^3 = -r/2 - Sqrt((r^2)/4 + (q^3)/27)
Hence we obtain from the relation y = x + z
x= (-r/2 + Sqrt((r^2)/4 + (q^3)/27))^(1/3) +
(-r/2 - Sqrt((r^2)/4 + (q^3)/27))^(1/3)
This solution is known as Cardan's solution but he got it from Tartaglia even if the solution of the cubic seems to have been due originally to Ferreo.
I hope this helps, but if I were you, I would try factorising (y-1), (y-2), (y-3) from the polynome by an elementary division before going through this harsh method. Maybe an easier one exists, but not that I know of.note : enven if this solution appears to have NINE solutions, it is not the case for since the cube roots are to be taken in pairs. A full explanation would require a lot of time and is quite subtle.
NOTE : arildno has a good point ...