I did all I could to solve the question. I tried manipulating both the cubic equations to get the desired expression, I started out by assuming a function corresponding to these cubic equations and then doing manipulations but nothing seems to help.
Common values don't satisfy these cubic equations so surely they don't want us to solve the cubic. What I do realize is that the coefficients are well adjusted, so the solution definitely has got to do something with that.
Could you please help me with this?

Hint:
$a^3 -3a^2 +5a -4 = a^3+3a^2+5a +5 - 6a^2 -9 = 0 \implies 6a^2 = -9$. Here, we find the two complex solutions for the first polynomial. Find the real solution is easy from here.
Similiarly, $b^3 +3b^2 +5b +5 = b^3 -3b^2 +5b -4 +6b^2 + 9 = 0 \implies 6b^2 = -9$...