play phryzby with physics

Q. A ball is thrown at 40 m/s in a long hall whose ceiling is 25 m high. Taking g as 9.8 m/s², how far can it go without touching the ceiling, in metres? expects 150.51 m