i am getting rectangle is [(8 , 8), (14 , 14)] when i run it

get rid of b1 and use the method you already have: `return origin.distance(getTopRight());`