How to find the area of green region in terms of yellow, blue and red region in the following figure?
The triangle is any random triangle and an arbitrary point $P$ is taken where all the colored regions coincide.
The answer given is $$G = \frac{BY(Y + B + 2R)}{R^2 - BY}$$
But I'm not able to find out. Please help.