When you put something in parenthesis by a number, your multiplying each individual number by the number outside of parenthesis. Therefore, 5(2) = 10 and 5(7) = 35 and that equals 45, and 5(2+7) you distribute the 5 to both numbers and get 10+35 which equals 45 aswell.