You could also (if the triangles are to be the same colour), put down a square of the same size of the block on the star, right sides facing. Then stitch a quarter inch seam all around the block. Draw light pencil lines on the diagonal, corner to corner, cut open along the lines with scissors, iron and Bob's your uncle. Four triangles attached, no maths.