Using Tensor Diagrams to Represent and Solve Geometric Problems