Median is the middle number or the average of the middle numbers when two numbers happen to be in the middle of an ordered numbers.12 and x happens to be in the middle and so the median is the average (the sum of the numbers divided by 2) of 12 and xThe median is therefore calculated as:Now calculate for the value of xEvery number is being divided by 1We can therefore write the above equation as:You can cross multiply to solve for the value of x1×(12+x)=14×212+x=28x=28−12x=16