\documentclass{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{graphicx}


\begin{document}

A flagpole is 40 feet high and stands on level ground. A flag is attached to a 120 foot rope passing through a pulley at the top of the flagpole. The other end of the rope is tied to a car at ground level. If the car is driving directly away from the flagpole at 3 ft/sec, how fast is the flag rising when the top of the flag is 20 feet off the ground?

\includegraphics[width=0.5\textwidth]{w2K.png}

\end{document}