As given that the every surface of the block shown will be painted, except for one of the bases.
And a block have 6 surface but one is not painted so there are 5 surface that are painted so:
The area of the painted surface is:

Where a is 3.2 cm

The area of painted surface is 51.2 square cm