Find the real solutions of the equation by graphing.

x^3-3x^2-18x=-40

To find the real solutions of the equation by graphing, first rewrite the equation in the form of a quadratic equation:

x^3 - 3x^2 - 18x + 40 = 0

Now, plot the graph of the equation and look for the x-values where the graph intersects the x-axis. These x-values are the real solutions of the equation.

However, graphing the equation is not feasible here as it is a cubic equation. Therefore, we need to find another method to solve it.