Solve the all parts of given problem:
Problem: Ships A and B leave port together. For the next two hours, ship A travels at 15 mph in a direction 20° west of north while the ship B travels 10° east of north at 20 mph.
Part A: What is the distance between the two ships two hours after they depart?
miles
Part B: What is the speed of ship A as seen by ship B?
mph
This is a physic problem, reply as soon as possible. Thank you.