A particle is projected upwards at an angle θ=45∘ with horizontal from the top of a tower 10 m high. Assume the origin is situated at the bottom of the tower and the speed at which the particle is projected is 40√2 m/s. Find the equation of trajectory of the particle.