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