The ratio of the sides of the rectangle is represented by:
The diagonal of a rectangle is found by the Pythagorean Theorem:
The length of the diagonal is 26. Therefore:
Write everything in terms of one variable (using the ratio given) and then solve for that variable. Once you find one value, you can find the value of the other variable using the ratio.