triangle sums solved