The roads that connect three buildings form a right triangle. Use the image to find the distance between the library and the museum.
A triangle with corners labeled library, restaurant, museum. The distance from library to restaurant is 300 yards, the distance from restaurant to museum is 500 yards, and the distance from library to museum is question mark yards.