A ball is dropped from a building of height 45m. Simultaneously another ball is thrown up with a speed 40m/s. Calculate the relative speed of the balls as a function of time.