Please refrain yourself from checking the answers too soon. Use Lego blocks, unit cubes, or Rubik's cubes to help you think. If you are really stuck, check out this link on painted cube problems.
Please comment and help me make my blog more user friendly. Thanks a lot!!
Answer Key to the Painted Cube Problem