math PLEASE HELP ME
posted by Mia .
Mrs. Jones had some white paint and some green paint, and a bunch of wooden cubes. Her class decided to paint the cubes by making each face either solid white or green. Juan painted his cube with all 6 faces white  Julie painted her cube solid green. Hector painted 4 faces white and 2 faces green. How many cubes could be painted in the fashion, so that each cube is different from the others? Two cubes are alike if one can be turned so that is exactly matches, color for color on each side, the other cube.

The all white or all green can only be one way. The two greenfaced sides could either be opposite or adjacent.
Answer = 4