Math is urgent.
I can't see clearly what the side length of the third cube is. If it is 5, the answer is 36. If it's 4, it's 24. It seems wrong. . Number the squares with two sides on each side (squares without corners on the sides), then multiply by 6(***6 faces), and finally divide by 2 (each square is counted twice.