Answer:
3.67 km
Step-by-step explanation:
Joe distance towards coffee shop is,

And the Max distance towards bookstore is,

Now the distance between the Joy and Max will be,
By applying pythagorus theorem,

Substitute 0.40 km for OB and 3.65 km for OA in the above equation.

Therefore the distance between there destination is 3.67 km.