Draw a wide sign with red arrows that point to the right. It warns drivers about a bend. Use sharp corners.

  1. Draw a white rectangle with a red outline. Its corners are (-175, -50), (175, -50), (175, 50), and (-175, 50).
  2. Draw a filled red triangle on the left. Its corners are (-175, 50), (-175, -50), and (-125, 0).
  3. Draw three filled red arrow shapes. Each one has six corners.

An arrow shape has a tip. The tip is the point on the right. Each arrow has its own tip x-value t. Use the tip t = -25 for the first arrow, t = 75 for the second, and t = 175 for the third.

The six corners are, in this order:

Corner Coordinates
1 (t - 100, 50)
2 (t - 50, 50)
3 (t, 0)
4 (t - 50, -50)
5 (t - 100, -50)
6 (t - 50, 0)

For the first arrow, corner 1 is (-125, 50).

The arrows repeat. Write a function draw_arrow(t) and call it three times.

Bend marker sign