$\displaystyle a.b+a+b=34$
$\displaystyle a+b=?$
No, I cannot explain how I solved the problem!
First assume that we are dealing with natural numbers (positive).
I just know a great deal about how numbers work.
It does not take much to see that the integers must be less that ten.
It was simple to try various combinations.