Simplify:
3(x - 1) = 8x -3
Expand:
3x - 3 = 8x - 3
Cancel -3:
3x = 8x
Move all terms to one side:
3x - 8x = 0
Simplify 3x - 8 to -5x
-5x = 0
Divide both sides by -5:
x = 0
Here 'a' corresponds to 0.
Now there are two possibilities for 'r' & 't'
Case 1.
They are on the same side to the right of 'a'
In that case 'r' corresponds to 5 & 't' corresponds to 7.
The midpoint of 'r' and 't' shall be 
Case 2.
Both are on the left of 'a'.
In that case 'r' corresponds to -5 & 't' corresponds to -7
The midpoint shall be 
Case 3.
'r' in on the right of 'a' and 't' is on the left of 'a'
So 'r' corresponds to 5 and 't' corresponds to -7
The midpoint shall be 
Case 4.
'r' is on the left of 'a' & 't' is on the right of 'a'.
'r' corresponds to -5 & 't' corresponds to 7
The midpoint shall be 
The possible coordinates of the midpoints of rt are 6, -6, 1, -1.
24 ÷ (12-4) = 3
A and C also equal 3
Remember the order of operations! makes all the difference!
PEMDAS = (working left to right) parentheses, exponents, division/multiplication, addition/subtraction
We can find the area of the doormat, in square meters, by multiplying 1/2 and 3/10, getting 3/20. Each square is 1/10*1/10=1/100 square meters.
(3/20)/(1/100) will give the ratio of the size of the doormat to the size of the squares, and thus the amount of squares needed. This is equal to 15 squares, so the doormat will be divided into 15 squares.