calculating amounts you use this triangle in the same