The whole is 100%. He gave 40% to his brother, leaving 60%. He sold half of that 60% (= 30%), so the 18 cards left are the last 30%.
Plain numbers are given; italic underlined numbers are worked out.
He had 60 cards at first.
Check: brother 24 + sold 18 + left 18 = 60. ✓