Tamyra's soccer team scored a total of 40 goals this year. They scored 15 more goals this year than they did last year. Write an algebraic equation that could be used to represent g, the number of goals Tamyra's team scored last year.