One method for working out the areas of the triangles is the 'boxing in' method:
Box in the chosen shape, work out the area of the box, and then subtract the unwanted areas in order to work out the desired area.
The example below shows how this method can be used to work out that the area of the tilted square is 10 cm$^2$.