Two ships leave port at the same time. Ship A sails north at a speed of 10 mph while ship B sails east at a speed of 35 mph. Find an expression in terms of the time t (in hours) giving the distance between two ships.