The key is to cross 1 number from both sides till you get to the middle last number so the answer is 4
Use FOIL
<span>(1-p)(1+p+p^2+p^3+p^4+p^5+p^6)
</span><span>1+p+p^2+p^3+p^4+p^5+p^6 -1p - p^2 - p^3 - p^4 - p^5 - p^6
</span><span>1 + p -1p <------------------Answer</span>
7 is

miles; the question includes the words "in all", which shows that the two fractions should be added together. To add fractions with the same denominator, you must simply add the numerators and keep the denominator unchanged.
8 is

yards of ribbon; this one also requires you to add the fractions-- the numerators should be added, but the denominator stays the same because the two fractions share the same denominator.
So since Kelvin has given 1/5 of his sweets to omar, this means that he has 4/5 sweets left. So all we have to do is find:
45 * 4/5 to find the number of sweets Kelvin has left, which will give us 36.
Hope this helps!
The edge length of a cube was to double, then the scale factor would be 1:2 (1 representing the original cube, and 2 representing the doubled cube). The ratio between the volumes is the scale factor cubed. Therefore the ratio of the volumes would be 1 cubed:2 cubed which simplifies to 1:8.
Final Answer: the volume of the cube with doubled edge lengths would be 8 times as large as the volume of the original cube.