An optimization problem is one where you have to make the best decision (choose the best investments, minimize your company’s costs, find the class schedule with the fewest morning classes, or so on).
This is a classic introductory physics problem. Basically, you have a cart on a frictionless track (call this m 1) with a string that runs over a pulley to another mass hanging below (call this m 2).