The key of this question is to calculate the 20%. Recall that to do that, you can do as follows. Whenever you want to calculate the x % of a number, you multiply the number by x and then divide it by 100. So, in this case, we are going to calculate the 20% of 18 and the 20% of 24.
For 18:
For 24:
So now, we should add each calculation to the original lenght, so we have increased each lenght by 20%.
Then our final results are
18 + 3.6 = 21.6
24 + 4.8 = 28.8
So the correct answer is option C.