YASH Technologies interview question

How do you decide on complexity of the development task?