There are six sides to a die and only one side has a two, so the probability of rolling a 2 is 1/6.
There are two sides to a coin and only one side has a head, so the probability of its coming up heads is 1/2.
The two events (rolling a die and flipping a coin) are independent, so the probability of both events occurring is (1/6)(1/2) = 1/12