Hello,
Yeah, like you said, that's wrong :P
Your formula is the right idea though. Usually with this problem, they tell you something like, "A ball is shot out of a cannon at an angle x with an initial speed of v0. How long does it take to hit the ground, and how far does it go?" And then you work through it by calculating the y component of the motion (which is affected only by gravity) to find the time, and then plug that time into the x version of the equation to find the distance. Because the full equation is:
s(t) = s0 + v0t + 1/2at^2 , which you can break down into the x and y components:
y(t) = y0 + v0yt + 1/2ayt^2 and
x(t) = x0 + v0xt +1/2axt^2,
where you know that the acceleration in the y-axis is due solely to gravity (ay = g), and the acceleration in x is 0 (these problems typically neglect friction).
Here, however, you've been given the angle, the horizontal distance, and the time already, and all you have to do is find the initial speed.
Your solution is incorrect because you neglected the y component of the motion. IE, you solved your equation for the x component only, as if it had been shot at an angle of zero and there were no gravity.
A clue for you should have been (probably was, but you weren't sure what to do with it) the fact that you didn't use the 38 degrees anywhere. You will need this number.
Hope this helps, write again if you're not sure how to proceed!