Surface area of cube which can be painted = \( \Large 6 \left(Side\right)^{2} = 6 \left(2\right)^{2} = 2 cm^{2} \)
Now. surface area of cuboid which can be painted
\( \Large 2 \times \left(lb+bh+lh\right) \)
\( \Large 2 \left(2+6+3\right) = 22 cm^{2} \)
Total surface area of both cube and cuboid
= \( \Large 22 + 24 = 46 cm^{2} < 54 cm^{2} \)
Therefore, both cube and cuboid can be painted.