The change in X coordinates is calculated by subtracting the X coordinate of Boston from the X coordinate of San Francisco. Similarly, the change in Y coordinates is calculated by subtracting the Y coordinate of Boston from the Y coordinate of San Francisco.
Show more…