We have two blocks. Lets call them A and B. Block A is to the right of B. Block A contains a medium blue square, a medium black square and one medium yellow circle. To the left of the medium black square which is above the medium yellow circle is a medium yellow triangle. The medium yellow circle is touching the right edge of this block. This block also contains a big yellow circle. The medium blue square is to the right of and near to the medium yellow triangle which is above the medium yellow circle. Block B contains a small yellow triangle and one medium black triangle. The small yellow triangle is above the medium black triangle.
What is above the shape that is touching the right edge of a block? a medium black square or a medium black triangle?
medium black square  medium black triangle  both of them none of them