Gregg has q quarters and p pennies. His brother has 4 times as many quarters and 8 times as many pennies as gregg has. Write the sum of the numbers of coins they have, and then combine like terms

Greg: q+p

Bro: 4q+8p

now just add them up.

Gregg: p + q Coins.

Brother: 8p + 4q Coins.

Sum = 8p+p + q+4q = 9p + 5q

To find the sum of the number of coins Gregg and his brother have, we need to calculate their individual totals first.

Given that Gregg has q quarters and p pennies, we can write his total as:

Gregg's total = q quarters + p pennies

Gregg's brother has 4 times as many quarters as Gregg, so his number of quarters is:

Brother's quarters = 4q quarters

Similarly, Gregg's brother has 8 times as many pennies as Gregg, so his number of pennies is:

Brother's pennies = 8p pennies

To find the sum of the number of coins they have, we add the quarters and pennies for Gregg and his brother:

Total number of quarters = q quarters + 4q quarters = 5q quarters
Total number of pennies = p pennies + 8p pennies = 9p pennies

Therefore, the sum of the number of coins they have is:

Total = Total number of quarters + Total number of pennies
= 5q quarters + 9p pennies

To combine like terms, we can rewrite the total by rearranging the terms:

Total = 5q quarters + 9p pennies
= 9p pennies + 5q quarters

Now, the sum of the number of coins they have, with like terms combined, is:

Total = 9p pennies + 5q quarters