A wooden cube with a side length of n units is painted on all six faces and then cut into n³ unit cubes. 10% of the total number of faces of the unit cubes are painted. What is n?
a) 5
b) 10
c) 6
d) 3