Can someone tell the approach and solve the problem

just find the median of x axis and y axis