Task: Mathematics
Input (English): x = 4, equation weights = [0, 4, 8]
Output (English): 24