Solve the following equation for aa. Be sure to take into account whether a letter is capitalized or not.
2n= a(d+g)