We are asked to determine the length of a ship whose length is 15 meters. To determine the relative length we will use the following formula:

Where:

Now, we substitute the value of the speed as a function of the speed of light:

Substituting we get:

Now, we distribute the exponent and simplify:

Solving the operations:

Therefore, the length of the spaceship observed by the friend is 14.14 meters.