After I complete by sec substitution I get

.

But this doesn't match the calculator's answer:

After differentiating the result my answer is different as well... I thought the answers we got would be equivalent though...

Then the second question is . Find the equation.