Pergunta de entrevista da empresa Goldman Sachs

Markov chain question about a rolling dice game