There are 3 different roads from city A to city B and 2 different roads from city B to city C. In how many ways can someone go from city A to city C passing by city B.