Answer
See below.
Work Step by Step
The set of numbers is not in increasing order.
The median of $n$ is the middle number of the numbers when they are in order (and the mean of the middle $2$ numbers if $n$ is even). The mode of $n$ numbers is the number or numbers that appear(s) most frequently.
Hence here the median is the middle in the sequence $3, 5, 8, 9, 10,10, 12$, which is: $9$.