find the distance of gap d

Answer:
[tex]\displaystyle d \approx 15.8768[/tex]
Step-by-step explanation:
We want to find the distance of d or AB.
From the right triangle with a 35° angle, we know that:
[tex]\displaystyle \tan 35^\circ = \frac{50}{PB}[/tex]
And from the right triangle with a 42° angle, we know that:
[tex]\displaystyle \tan 42^\circ = \frac{50}{PA}[/tex]
AB is PA subtracted from PB. Thus:
[tex]\displaystyle d = AB = PB - PA[/tex]
From the first two equations, solve for PB and PA:
[tex]\displaystyle \frac{1}{\tan 35^\circ } = \frac{PB}{50} \Rightarrow PB = \frac{50}{\tan 35^\circ}[/tex]
And:
[tex]\displaystyle \frac{1}{\tan 42^\circ } = \frac{PA}{50} \Rightarrow PA = \frac{50}{\tan 42^\circ}[/tex]
Therefore:
[tex]\displaystyle d = AB = \frac{50}{\tan 35^\circ} - \frac{50}{\tan 42^\circ}[/tex]
Using a calculator:
[tex]\displaystyle d= AB \approx 15.8768[/tex]