The situation can be represented by expression 3x + 5y = 900
An equation is an expression that shows the relationship between two or more variables and numbers.
Let x represent the number of cookies and y represent the number of cake slice.
The class wants to raise $900.Hence:
3x + 5y = 900
Find out more on equation at: https://brainly.com/question/1214333