To determine vector R we need to construct vectors A and B.
From the diagram we know that vectors A and B are:
[tex]\begin{gathered} \vec{A}=-18\hat{i} \\ \vec{B}=25\hat{j} \end{gathered}[/tex]Then vector R is:
[tex]\vec{R}=-18\hat{i}+25\hat{j}[/tex]Now, that we have that we know that the magnitude of a vector is given as:
[tex]R=\sqrt[]{R^2_x+R^2_y}^{}_{}[/tex]where Rx and Ry are the components in each direction. With this in mind we have that the magnitude is:
[tex]\begin{gathered} R=\sqrt[]{(-18)^2+(25)^2} \\ R=30.81 \end{gathered}[/tex]Therefore, you are 30.81 meters from the starting point.
Now, to find the the direction (that is angle theta) we can use the following:
[tex]\theta=\tan ^{-1}(\frac{R_y}{R_x})[/tex]Now, from the figure we notice that we need to use the absolute value of each component (this means they both have to be positive) then we have:
[tex]\theta=\tan ^{-1}(\frac{25}{18})=54.25[/tex]Therefore the direction is W52.25°N (this means that we measure the angle from west to north, as in the figure)