A rectangle has a length of x centimeters and a width that is equal to half of its length. The perimeter of the rectangle is 22.5 cm .Which equation represents this situation?

A. (x)(x/2) = 22.5
B. 1/2(x + x/2) =22.5
C. x + x/2= 22.5
D. x + 2x =22.5