Solve for Variable 'g' i.e. Simplify Equation
Can someone help me simplify this expression for a Civil Engineering application?  I had a quick answer here to some logical operations earlier, so I thought I would give it a try...

d=(g-h)*0.5/2*h + (g-l)*0.5/2*l + (L - (g-h)*0.5/2 - (g-l)*0.5/2) * g

where d=2.67; h=0.04; l=0.03; and L=28.4

I can't simplify the equation to isolate 'g' though I got this far
Solve for Variable 'g' i.e. Simplify Equation
===

Can someone help me simplify this expression for a Civil Engineering application?  I had a quick answer here to some logical operations earlier, so I thought I would give it a try...

d=(g-h)*0.5/2*h + (g-l)*0.5/2*l + (L - (g-h)*0.5/2 - (g-l)*0.5/2) * g

where d=2.67; h=0.04; l=0.03; and L=28.4

I can't simplify the equation to isolate 'g' though I got this far