Y - 2 +

Your teacher may also just want the answer y - 2 with a 7 remainder
Either way, you set it up like long division and solve as such.
B because it u and 9 friends each want the same amount from splitting 1.30 which gives you .13
A because the difference between them is 1 but started at 2 and every time u add an extra 1