The bus fare is x, and the ferry fare is y.
x + y = 8
The bus fare will increase by 10% and the ferry fare will increase by 25%.
1.1x + 1.25y = 9.25
Multiply the first equation by -1.1:
-1.1x - 1.1y = -8.8
Add this to the original second equation.
0.15y = 0.45
y = 3
x + y = 8
x + 3 = 8
x = 5
The bus fare is $5, and ferry fare is $3.