The graph required to answer this question is not provided. However, the information that will be provided in this explanation will be sufficient to answer the question.
Since the two paths are perpendicular, they can be seen as the x and y axes.
Let your school to the library indicate the x direction and the path from your home to the pack be the y-axis.
if your school = x1
Library = x2
home = y1
park = y2
The slope, m, can be calculated using m = (y2 - y1)/(x2 - x1)
After getting the slope, the equation can then be modelled as the equation of a line.
y - y1 = m(x - x1)
Inserting the values of x1 and y1 will give the required equation.