Kathie spent $38 on a fruit salad. She bought bananas, mangoes, and pineapples. Bananas cost $1 per pound, mangoes cost $2 per pound, and pineapples cost $3 per pound. Identify the linear equation in three variables that represent this situation.