Problem 2. Along the path between the houses of Nезнайка (Nезнayka) and Синеглазка (Sineglazka), there were 15 peonies and 15 tulips growing in a row, mixed together.

Setting out from home to visit Nезнайка, Синеглазка watered all the flowers in a row. After the 10th tulip, the water ran out, and 10 flowers remained unwatered.

The next day, setting out from home to visit Синеглазка, Незнайка picked flowers for her one by one. After picking the 6th tulip, he decided that it was enough for the bouquet. How many flowers remained growing along the path?
Answer: 19 flowers.

Solution: 10 flowers were left unwatered, which means $30-10=20$ flowers were watered. Consider the last flower watered by Blue-Eyes, which is a tulip. Since there are 15 tulips in total, there are $15-10=5$ tulips after this tulip.

Therefore, Nезнайка will pick these 5 tulips and finish picking flowers right at the last tulip watered by Blue-Eyes. This means that all the other watered flowers survived. That is, $20-1=19$ flowers survived.