triangle in a square angle problem