Answers: 0.97 and 1.18
Step-by-step explanation
We'll focus on the red cars only for now.
Open up your favorite spreadsheet software. Copy the data given to you. Column A is the number of cars (0 through 4). Column B is the probability of seeing that many red cars. For example, the probability of seeing 0 red cars is 0.43
Column C is the product of the first two columns. The label for this column is A*B which goes into cell C1. The expression in bold =A2*B2 is then typed into cell C2.
This will multiply the items in cells A2 and B2, and display the result in cell C2. The equal sign up front is very important. If it wasn't there, then the spreadsheet simply displays A2*B2 without doing any calculations. In other words, it will display plain text when instead we want to evaluate a formula. So it's a good idea that you don't forget about the equal sign up front. I've seen many students make this mistake.
After C2 is filled in. Grab the lower right corner of this cell. Drag it downward to cell C6. The other cells will fill in with the correct products. The spreadsheet will know how to create the correct references. The results of column C are: 0, 0.31, 0.28, 0.3, 0.08
Add up those results: 0+0.31+0.28+0.3+0.08 = 0.97
Tip: Use the Sum function to quickly add up values.
The expected number of red cars is 0.97
It seems strange to say 0.97 of a car. It's tempting to round this to 1, but keep in mind that "expected number" is the same as "average". Averages aren't always whole numbers. But informally we would say "Pamela should expect to see around 1 red car".
I think it's best not to round when inputting the answer 0.97 into the first box. But I would ask your teacher for rounding instructions.
The answer for the second box is 1.18 when following similar steps. Form a separate table such that the 1st column is the number of cars, and the 2nd column is the probability of a green car. Multiply the values for each row and then add up the results. Let me know if you have any questions.