The perimeter of a rectangle is the sum of its sides, which are two widths and two lengths:

Since the length is twice the width, we have
, and the formula for the perimeter becomes

So, we have

#include <stdio.h> #include <stdlib.h>
// Function to perform division (x / y) of two numbers x and y. // without using division operator in the code. int divide(int x, int y)
{ // handle divisibility by 0. if (y == 0)
{ printf("Error!! Divisible by 0"); exit(1);
} // store sign of the result.
int sign = 1; if (x * y < 0)
The answer is 3 3x3x3=9
Hope this helped:)
165
X= ———
14
1 + 7/30 (4x) = 20