Answer:
5th example: 28 blocks.
24th example: 123 blocks.
Step-by-step explanation:
Hope this helped!