Anthony purchased 6 fruit bars and 3 chocolate-nut bars for a camping trip. He spent $4.12 on the bars. Anthony wrote the following equation:  . What did he define as the variable x?