Let's take X's marks are 7x and Y's marks are 5x, If Y had scored 5 more marks, Y's new marks would be 5x + 5. According to the question, X's marks (7x) would be 30% more than Y's new marks (5x + 5): 7x = 1.3(5x + 5) 7x = 6.5x + 7.5 0.5x = 7.5 x = 15 Now, we can find X's and Y's actual marks: X's marks = 7x = 7(15) = 105 Y's marks = 5x = 5(15) = 75 The difference between their actual marks = 105 - 75 = 30