The number of blue and white tiles = total tiles
B + W = T
And we're told that: 9B = 5W ...so... B = (5/9)W .....which implies that....
(5/9)W + W = T
And if 9 white tiles are replaced with blue tiles, we have.....
[(5/9)W + 9 ] : [ W - 9 ] = 13 : 15 ....or.....expressing another way.....
[(5/9)W + 9 ] *15 = 13*[W - 9] ..... solve for W
(75/9)W + 135 = 13W - 117
75W + 1215 = 117W - 1053
2268 = 42W
So, W = 54 = the number of original white tiles .... and B = (5/9)W = 30 = number of original blue tiles....so...... there are 84 tiles total
Check...... before = 30/54 = 5/9 ... after = 39/45 = 13/15 √
