Greg bats in seven cricket matches. In the eighth match, he makes 9 runs and his average decreased by one.

Let x be the average of seven matches, make an equation and find the value of x and how many runs has he made in all?

7 x + 9 = 8 (x - 1)