Arrange the data in an ascending order and the median is the middle value. If the number of values is an even number, the median will be the average of the two middle numbers.
To answer you get the same denominator so multiply both denominators with each other and do the same with the top so 25 will be at both bottoms and well 15/25 and 8/25. Then solve