You can subtract square roots with the same radicand-- which is the first and last terms. Only the first and last square root have the same radicand, so you can add these two terms. Remember-- the same rule applies to subtracting square roots-- the radicand must be the same.