To find the median, add up the frequency column to find how many trains there were in total. There were 44 trains in total in this grouped frequency table, so work out 44 + 1 2 = 45 2 = 22.5. The median is therefore between the 22nd and 23rd values.
y = 7 which you subtract from 2x which means 2 times x so you use all of those as the value of 2 to see what the answer would be after you multiply it by 2