On the table, four figures are laid out in a row: a triangle, a circle, a rectangle, and a rhombus. They are painted in different colors: red, blue, yellow, and green. It is known that the red figure lies between the blue and green ones; to the right of the yellow figure lies the rhombus; the circle lies to the right of both the triangle and the rhombus; the triangle does not lie at the edge; the blue and yellow figures do not lie next to each other. Determine the order in which the figures lie and what colors they are.
First, try to determine how the figures are arranged by color, without paying attention to their shape.

## Solution

For convenience, let's restate all the conditions of the problem: 1) the red figure is between the blue and green figures; 2) to the right of the yellow figure is a rhombus; 3) the circle is to the right of both the triangle and the rhombus; 4) the triangle is not at the edge; 5) the blue and yellow figures are not next to each other. Since the red figure is between the blue and green figures (condition 1), and the yellow figure is not next to the blue figure (condition 5), there are only two possible arrangements of the figures by color: "blue, red, green, yellow" or "yellow, green, red, blue." The first of these options is incorrect because, according to condition 2, the yellow figure cannot be on the right edge. This leaves only one possible arrangement of the figures by color: "yellow, green, red, blue." From condition 2, it immediately follows that the rhombus is green. From this and condition 4, it follows that the triangle is red. In turn, from this and condition 3, it follows that the circle is blue. Therefore, the rectangle can only be yellow. The final answer: yellow rectangle, green rhombus, red triangle, blue circle.

## Answer

Yellow rectangle, green rhombus, red triangle, blue circle.