Ambar and Cole are engaged. Ambar works at the pharmacy and Cole works at the Library. In a few months, they will move to an apartment that is located at a point that is collinear to the locations of the pharmacy and the library, and partitions the line segment into a ratio of 2:3 coming from the pharmacy. If each grid in the graph represents 500 meters, then how far is the apartment from both Cole's and Ambar's current places?