Canva Interview Question

Implement an interface for Power generators with Capacity and Area mapping