"You throw a rock at 25m/s at an angle of 25.8511 degrees hitting a target 50m away on the ground in 2.22s." (this is on a flat surface)

Vi=25m/s
Theta=25.8511 degrees
x=50m
t=2.22s
and of course g=9.81m/(s^2)

"How high does the rock fly in the air?"

I know this problem should be a simple plug and solve but my answer does not match the one in the back of my book which is 6.05m. Test coming up and I want to know how to reach that answer or if the book is wrong, what the right answer is.

Please show steps and what equation to use.

25sin25.8511 = 10.90

t=2.22 is the total time
2.22/2= 1.11 is half the time
h=vit . 1/2 at^2
h=(10.9*1.11) -1/2*9.8*(1.11^2)
h=6.06