Ashley’s math average decreased 12 points to 78. Then she completed an extra credit assignment and raised her final average by 5 points. Write an equation to show how Ashley’s average changed.