Final answer:
To find the amount of time it takes for your neighbor to be 30 ft from you, you set up and solve an equation using the given information.
Step-by-step explanation:
To find the amount of time it takes for your neighbor to be 30 ft from you, we need to set up an equation and solve for t. The distance d is given by d = |120 - 4t|. The absolute value represents the distance in one direction, so it does not matter if your neighbor is walking towards you or past you. We want to find when the distance is 30 ft, so we set up the equation 30 = |120 - 4t|.
Solving this equation gives us two possibilities: 30 = 120 - 4t and 30 = -(120 - 4t). We can solve each equation separately.
For the first equation, 30 = 120 - 4t, we subtract 120 from both sides to get -90 = -4t. Dividing both sides by -4 gives us t = 22.5.
For the second equation, 30 = -(120 - 4t), we multiply both sides by -1 to get -30 = 120 - 4t. Subtracting 120 from both sides gives us -150 = -4t. Dividing both sides by -4 gives us t = 37.5.
So your neighbor is 30 ft from you after 22.5 seconds and 37.5 seconds.