A university awarded medals in basket ball, football and volleyball. Only x students (x < 6) got medal in all the three sports and the medals went to a total of 15x students. It awarded 5x medals in basketball, (4x + 15) medals in football and (x + 25) medals in volleyball.