Let:
A = land on heads
B = rolling a 1, 2, or a 4 on a die
so:
since the coin needs to land on heads 3 times:
and rolling a 1, 2, or a 4 on a die:
9.4m questions
12.2m answers