---How long did it _____ you to work out the difficult maths problems?---I ______ about half an hour on it .