Microsoft Interview Question

Simulate a d6 with a d10