If the angles of a triangle are in the ratio 1:1:4, then the ratio of the perimeter of the triangle to its largest side is