To find the mean you must add all the numbers and divide by the # of numbers in the set.
8+12+13+14+14+15 = 76
76/6 ≈ 12.7
To find the median you have to order the numbers from least to greatest, the middle number should be the median, but in this case two numbers are in the middle.