if a^2-b^2=10 and a-b=2 what is the vlaue of a+b

a^2 - b^2 factors into (a - b)(a + b)

(a - b)(a + b) = 10
If a-b = 2, then

2(a+b) = 10
a+b = 5