Task: Mathematics
Input (English): x = 3, equation weights = [5, 2, 7]
Output (English): 58