Solve the all parts of given question:
Question: A wildlife researcher is tracking a flock of geese. The geese fly 5.0km due west, then turn toward the north by 40degrees and fly another 5.0km.
Part A: How far west are they of their initial position?
Part B: What is the magnitude of their displacement?
Please show all work and explain your methods.