You can put this solution on YOUR website! Use the quadratic formula. You will end up with two answers for g and both will include the complex number i.
Visit here to learn how use the quadratic formula:
http://www.purplemath.com/modules/quadform.htm