Task: Mathematics
Input (English): x = 7, equation weights = [0, 4, 3]
Output (English): 31