A bag contains 9 counters. n counters are yellow and the rest are blue. Two counters are removed randomly from the bag. The probability of the first counter being yellow and the second being blue is 5/18.

Form an equation involving n and show that it simplifies to n^2 - 9n + 20 = 0

Show all working!