To avoid writing lengthy constants, I'll write the function f(x) as . Then , and the area A of the yellow rectangle is . You know A and you want to solve this equation for X. You won't find an exact solution, but you should be able to use numerical approximation techniques to get a solution as accurate as you need.

Having found X, you can get the blue area by integration. It is