3/5 of the T-shirts of the shop are on sale
5/8 of those on sale are blue
1/3 of the blue shirts on sale are medium size.
First calculate how many of the shirts on sale are blue:

25/24 of the shirts on sale are blue
Then divide that number by three to know how many are medium size:

25/72 are blue and medium size