Hello, lyyy94!
Code:
: 10 E 5 :
A o - - - - - - - o - - - o B
| *:::::::::::::* |
| *:::::::::::* |
| *:::::::::* |
x | *:::::::* | x
| *:::::* |
| *:::* |
| *:*|
D o - - - - - - - - - - - o C
15 The length of the rectangle is 15.
The width of the rectangle is 
The area of (x) \:=\:5x)
The area of rectangle 
The fraction (ratio) is: . 
Make a sketch and the answer is obvious . . .
Code:
N
A o - - - o - - - o B
|:::::* | * |
|:::* | * |
|:* | * |
M o - - - + - - - *
| * | * |
| * | * |
| * | * |
D o - - - * - - - o C