A rectangular prism has 6 layers of unit cubes. The prism is made up of a total of 48 unit cubes

How many cubes are in each layer of the rectangular prism? ​