Barclays interview question

How are derivatives valued?