I've been asking since yesterday :(

Candace is designing a rectangular garden. The garden's diagonal must be 37.7 feet, and the ratio between the garden's base and height must be 12:5. Find the length of the garden's base and height. The garden's base is feet and its height is​