Explanation:
x = eggs of Ayyub
y = eggs of Bran
z = eggs of Curtis
x + y + z = 48
y = x + 1
z = 1.5y = 1.5(x + 1)
now we are using the second and third equation in the first :
x + (x + 1) + 1.5(x + 1) = 48
x + x + 1 + 1.5x + 1.5 = 48
3.5x + 2.5 = 48
3.5x = 45.5
x = 45.5/3.5 = 13
y = x + 1 = 13 + 1 = 14
z = 1.5(x + 1) = 1.5(13 + 1) = 1.5×14 = 21
for all three friends to have the same number of eggs, we need to split 48 into 3 equal parts : a division.
48/3 = 16
so, everybody should end up with 16 eggs.
therefore Curtis gives away 21-16 = 5 eggs in total (3 to Ayyub, 2 to Bran).