Task: Mathematics
Input (English): x = 3, equation weights = [5, 1, 3]
Output (English): 51