diagramy problem 4