At the end of the school year, Rachel and Amber go to the roof of a 12-story building and throw their Algebra book of the edge. The equation of the pathway that each girl’s textbook takes is given below. By how many seconds does Rachel’s textbook beat Amber’s to the ground?
Rachel: h=-16t^2+36t+160
Amber: h=-16t^2+50t+160