The first thing that you should notice is that you have two functions:
Then their respective graphs are given by the blue and the red functions in your picture. Now, the main idea, is to know the points where they are equal and in that way, you will have the initial equation as follows:
The equation will be satisfied in terms of their graphs at the points where they intersect themselves, at the x-coordinate.
The intersection points A and B at the x-coordinate are the answer for the equation. Then