The total cost of a sandwich, glass of milk, and an apple is $3.50. The milk costs one and a half times as much as the apple. The sandwich cost $1.40 more than the apple. What is the price of each?