In the diagram, each shape has a value and the sums of the shapes in each of the first three rows is given. Find the sum of the shapes in the fourth row.