Roll a die problem

Question

Hints

Answer