A rock is thrown vertically upward from ground level at time 0. At time t1 it passes the top of a tall tower, and later, at time t2, it reaches its maximum height. Find what is the height of the tower? Give your answer in terms of the given variables and g.