You have two gifts to buy. You plan to spend no more than $40 on the two gifts combined. You want to spend at least twice as much on the first gift as on the second gift. Let x be the amount you spend on the first gift and y be the amount you spend on the second gift.