Hello, I have two word problems that I cannot figure out. I've provided the answers from the answer key.

1) A hexagon with sides 5cm, 6cm, 7cm, 8cm, 9cm, and 10cm has area 123cm^2. If a similar hexagon has longest side of 40 cm, what is its area? (Answer = 1968 cm^2)

2) Two similar triangles have corresponding sides with lengths 3 and 9. If the area of the first triangle is 12, what is the area of the second triangle? (Answer = 108)

Any help is appreciated!