The problem is that you didn't put the dx in the first integral.
It's
So you can't think of the dx/dt...
So you have to substitute by
and the x will simplify :
After that, don't forget to back substitute (you will have a formula with t, but t=7x^2+1, so you have to change it)