30. Three friends were wearing white, red, and blue dresses. Their shoes were of the same three colors. Only Tamar had matching dress and shoe colors. Varya was wearing white shoes. Neither Lida's dress nor her shoes were red. Determine the color of the dress and shoes of each friend.

![](https://cdn.mathpix.com/cropped/2024_05_21_0aa0e6ac168e80891953g-018.jpg?height=571&width=1311&top_left_y=237&top_left_x=378)
$\triangle$ Let's illustrate three sets: the set of girlfriends, the set of their dresses, and the set of their shoes (Fig. 2).

Draw solid and dashed lines on the diagram to match the conditions of the problem (similarly to how it was done in problem 26).

The answer should be in the form of three triangles with solid sides.

Now it is clear that Lida has blue shoes, Tamara has red shoes, and, consequently, a red dress. Further, Lida has a white dress, and Valya has a blue dress.

Answer: Tamara - in a red dress and red shoes, Valya - in a blue dress and white shoes, Lida - in a white dress and blue shoes.