You can put this solution on YOUR website! If we have 3 numbers, where the mean is 6 and the mode is 5, then 2 of the numbers have to be 5. Makes sense? If it appeared once, then it could not be the only number that is the mode. If all three were 5, then the mean would be 5.
----------------------------------------
So, we have :