Ball A is thrown vertically upward from the top of a 30-m-high building with an initial velocity of 5 m/s. At the same instant another ball B is thrown upward from the ground with an initial velocity of 20 m/s. Determine the height from the ground and the time at which they pass.