Dissecting Triangles and Squares