
<em><u>Solution:</u></em>
Given that,

We have to find whether the above function is odd or even
If a function is: y = f(x)
If f(-x) = f(x), the function is even
If f(-x) = - f(x), the function is odd
Which is,

From given,

Replace x with -x

Therefore,

Thus the function g(x) is even
7, 14 would be it but you have to divide the whole equation by 2 to get the y alone
Answer:
If you are looking for x your answer will be x=2
Edward sliced 6 chocolate cakes and 12 lemon cakes