please can somebody help me? I need to do this but i dont know how to

Answer:
n = 3.16 units; p = 5 units
Step-by-step explanation:
to find the length of the lines you need to use the pythagorean theorem or a^2 + b^2 = c^2
in this case a is x, b is y, and c is the length
so for n it is:
1^2 + 3^2 = c^2 -->
1 + 9 = c^2 -->
10 = c^2
c = 3.16227766 or about 3.16 (this is n's length)
for p it is:
3^2 + 4^2 = c^2 -->
9 + 16 = c^2 -->
25 = c^2 -->
c = 5 (this is p's length)