Please answer this correctly

2 red blocks
5 yellow blocks + 2 red blocks (plus 2 more yellow blocks from red to yellow) = 7 yellow blocks
20 blue blocks (18 more blue blocks than 2 red blocks = 20)
20 + 7 + 2 = 29 blocks in total.
Hope this helped!
Nate