We have two blocks, A and B. There is a medium blue triangle in block A. Below the medium blue triangle there is a small yellow circle. Block B is to the left of block A. It contains a big yellow triangle and a medium black square. There is also one big black triangle touching the top edge of this block. Near to, to the right of and above the big yellow triangle which is near to and below the medium black square there is a medium black circle. It is to the right of the medium black square. The big yellow triangle is touching the bottom edge of this block. To the right of the big yellow triangle there is the big black triangle. The medium black circle is touching the right edge of this block.
What is to the right of the big yellow triangle? a medium shape that is touching the right edge of a block or a object that is touching the top edge of a block?
medium shape that is touching the right edge of  a block  object that is touching the top edge of a block  both of them none of them