I'm trying to solve an indefinite integral problem using my TI Nspire. There are some problems I can solve with no issues, however there are other problems that don't seem to give the correct answer. I believe this is because I'm entering the problem wrong into the calculator. For example,

shows the problem and the correct answer. When I try to solve it with the TI Nspire I get this,

Completely different answer. What is the proper way to enter this problem into the calculator?
Thanks for you help!
Edit (Eeems): embedded images instead of linked to them