a)First calculate n/2(as wedo to find median class) and locate this point on y axis

b)Then drop a perpendicular on less than (or more than) type ogive

c)Now from this point drop a perpendicular on x axis.This is the median

(Also check this by formula and show the value on graph accordingly)