Problem #PRU-88041

Problems Discrete Mathematics Set theory and logic Mathematical logic Mathematical logic (other)

Problem

On the table four figures lie in a row: a triangle, a circle, a rectangle and a rhombus. They are painted in different colors: red, blue, yellow, green. It is known that the red figure lies between the blue and green figures; 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 on the edge; the blue and yellow figures are not next to each other. Determine in which order the figures lie and what colors they are.