use context starter2024

fun polynomial(a, b, c, x):
  doc: "produce polynomial a + bx + cx^2"
  ... # replace ... with your solution
where:
  polynomial(1, 2, 3, 1) is 6
  polynomial(1, 1, 1, 1) is 3
  polynomial(3, 2, 1, 0) is 3
  polynomial(3, 2, 1, 0.5) is 4.25
end

fun two-stripe-horiz-flag(width, height, top-height-ratio, top-color, bot-color):
  ... # replace ... with your solution
where:
  two-stripe-horiz-flag(300, 100, 0.6, "blue", "yellow") is 
  above(
    rectangle(300, 60, "solid", "blue"),
    rectangle(300, 40, "solid", "yellow"))
end
