Сократим дробь:
$$\frac{a^2 + 2a\sqrt{b} + b}{a + \sqrt{b}} = \frac{(a + \sqrt{b})^2}{a + \sqrt{b}} = a + \sqrt{b}$$.
Ответ: $$a + \sqrt{b}$$