Those two numbers are 30 and 12.
30+12=42
and
30*12=360
:P
Let g be the number of grandchildren, and d be the number of dogs. They both have only one head, so the number of heads is

Grandchildren have 2 legs, while dogs have 4. So, the total number of legs is

From the first equation (the one for the heads) we can derive

Substitute this into the second to get

So, there are 9 dogs and (from the first equation

Not sure what we need to do for this question, as it appears that you have already completed it, but looking over your answer, the graphed relationship looks correct! And it would take 3 cups of flour to make 90 cookies, as per the table.
Missing part of the question:
Write an inequality to determine the number of articles, M could have written for the school newspaper.
Answer:
The inequality: 
The solution: 
Step-by-step explanation:
Given
From the question, we have the following parameters:



Required
Determine the inequality to solve for M
Substitute the values for H and G in the inequality:


Multiply through by 4



Divide both sides by 11

The answer is k=-1.........