MQB is perfectly right I believe, it's a bit of a funny question because you need to solve it as you would a linear graph and you might think of it just as an inequality. The idea of the eggs is a bit of a red herring. According to the question, when we have 10 chocolate cakes (x) we have 0 strawberry cakes. When we have 6 strawberry cakes (y) we have 0 chocolate cakes. So, just for easiness (and as the former is x) place chocolate cakes along the x axis, and plot these points out. You'll note that when x=0, y=6, so therefore 6 is the y-intercept - think in terms of y=mx+c. So, to get me, we use the formula
x2−x1y2−y1 Therefore:
10−00−6=−0.6 So our completed equation for the line is:
y=−0.6x+6 So you'll note that if we input the x and y values we used before, we'd get the number of both cakes possible at that point. So, while it might be odd to have done this as a graph, what we've actually done is just found an equation that links x and y, by visualizing it as a graph. What does this have to do an inequality? So You'll also note that because we don't have many eggs, the domain of the graph is
0≤x≤10 and the range (y values) are:
0≤f(x)≤6 Remember f(x) is just the output values, so y. So the highest value of x is 10, for example. If we input this into the equation, y is 0 at this point. So then again, as we're looking at how many cakes we can bake, we don't always have to bake 10 chocolate cakes, for example: we might want 9, or less. However, we cannot go above 10 because we don't have enough eggs. If we rephrase that for the equation:
y≤−0.6x+6And then we rearrange:
[br]y+0.6x≤6[br]5y+3x≤30[br]We always need to represent inequalities in their smallest form, but the coefficient of x must be an integer. The lowest integer it can be is 3, when we multiply it by 5, so we multiply the entire equation and get that answer.
I realise this is just rephrasing the former users' answer, and very much kudos to them, but I find it often helps to see multiple explanations sometimes
Good luck!