Given that a + b = 10 and a^2 - b^2 = 40, find the value of a - b.