Quant Tickbox Quiz #2, Question 14

I am unsure how these two are equal: I would think the right is remainder 2 and the left remainder 5

How is Quantity B 2?

remainder for left is 5, -5 5/7 and same for the right