A food truck makes x lunch boxes and y salads in a day. It can make at most 40 items in all, and its ingredients allow 2x+y≤60. The profit is 30 dollars for each lunch box and 20 dollars for each salad. What is the greatest profit the truck can make in a day?