Time for which Lily arrived early before first match=15 Minutes
Lily was a referee for 3 soccer games
Time to play 1 soccer game= 1.5 hours = 90 Minutes
so,Time to play 3 soccer games =
There was 5 minutes between each game
so,Total time between 3 games = 5 minutes betwen 1st and 2nd game + 5 minutes between 2nd and 3rd game = 10 minutes
Time for which she left late after the last game= 10 Minutes
Total time taken by Lily was on soccer field = 15+270+10+10= 305 Minutes