3.1. (13 points) Ani has blue, green, and red paints. She wants to paint a wooden cube so that after painting, the cube has two faces of each color. In how many different ways can she do this? Ways of painting that can be obtained by rotating the cube are considered the same.