so if a car goes east 30mph and th other car was going 60mph south for one hour how far will they be from each other

don't you get a right-angled triangles with legs of 30 and 60 ?

How about Pythagoras ?