milan sold t shirts and hats at a festival. He made a $5 profit for each t shirt he sold. He also made a profit of $40 from selling hats. If he made a total profit of $125 how many t shirts did he sell?