Ben, Miguel, and Corey paid $50 for a gift for their friend. They shared the cost in the ratio 5:3:2. How much more money did Ben spend than Miguel?

5 x + 3 x + 2 x = 50

x = 5
Ben = 5 x = 25
Miguel = 3 x = 15
so what is 25 - 15 ?