Atlassian interview question

how can make it extendable and optimizing it?