Xiao Ming has 2 ways to go from home to school, and 3 ways to go from school to Children's Palace. If Xiao Ming starts from home and passes through school to Children's Palace, how many different ways can he go?
小明从家到学校有2条路可走，从学校到少年宫有3条路可走，如果小明从家出发经过学校到少年宫，有几种不同的走法？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>