So here’s a example and formula
Mean is the average of all numbers
(5+2+7+8+2+5+3)/7
Mean is 4.57
Median is the middle score so we have to arrange all the numbers from lowest to highest
2, 2, 3, 5, 5, 7, 8
Median is 5
Okay, you would need to distribute it.
It would be 3/4x - 3/4 = 10/8x - 20/8