how to find the length and width and diagonal line of a rectangle

use Pythagorean theorem, a^2 + b^2 = c^2 where the digonal line is c and the two sides are a and b