How to create a quiz form with calculation values?