#import "@preview/cetz:0.2.1"


#cetz.canvas(length: 6pt, {
  import cetz.draw: *

  let a = 6
  let b = 18
  let dx = a
  let dy = calc.sqrt(3)*a

  line(stroke: none, fill: orange.lighten(30%), close: true,
    (a - dx, 0 - dy), (0.5*a - dx, 0.5*calc.sqrt(3)*a - dy), (-0.5*a - dx, 0.5*calc.sqrt(3)*a - dy), (-a - dx, 0 - dy), (-0.5*a - dx, -0.5*calc.sqrt(3)*a - dy), (0.5*a - dx, -0.5*calc.sqrt(3)*a - dy)
  )
  line(stroke: 2pt, close: true,
    (b, 0), (0.5*b, 0.5*calc.sqrt(3)*b), (-0.5*b, 0.5*calc.sqrt(3)*b), (-b, 0), (-0.5*b, -0.5*calc.sqrt(3)*b), (0.5*b, -0.5*calc.sqrt(3)*b)
  )

  line(stroke: purple+1.5pt, mark: (end: "stealth", fill: purple),
    (-dx, -dy), (-dx+2, -dy+3*calc.sqrt(3)*2)
  )
})
