given ABCD is a rectangle what is the length of BC line

The length BC is the distance in the horizontal axis (x-axis) then it will be the distance between the coordinates x in B and A
B (8, 2) x=8 y=2
A (2 , 2) x=2 y=2
Then the length BC is:
[tex]\bar{BC}=8-2=6[/tex]BC=6 units