In your equation: a+(-4)=-13
you then add four to each side,
so a= negative 13 plus 4
so a= -9
Let p be the prize of a pen and m the prize of a mechanical pencils. If you buy six pens and one mechanical pencil, you spend 6p+m. We know that this equals 9, because you get 1$ change from a 10$ bill.
Similarly, if you buy four pens and two mechanical pencils, you spend 4p+2m, which is 8$, because now you get a $2 change. Put these equation together in a system:

Now, if you multiply the first equation by 2, the system becomes

Subtract the second equation from the first:

Plug this value into the first equation to get

So, let's look at the problem once again.
8%, or 8/100 of the bag were green jelly beans.
Let's see what we can do to find out a number of other jelly beans, not including the green ones.
We know that 92% of jelly-beans are not green.
92% is 11.5 times more than 8%
(92/8)
24 (or 8%) times 11.5 = 276
276 - number of jelly beans that are not green.
276 plus 24 = 300.
Answer: 300 jelly beans were in one bag.
According to the table shown, the function that best represents g (x) is the function g (x) = 2x. This can be shown with the values of the table because if x = -1 then g (-1) = - 2. If x = 0 then g (0) = 0. And if x = 1 then g (1) = 2.
While for f (x) we have:
x f (x)-1 -80 01 8
Then f (x) = 4g (x)