Task: Mathematics
Input (English): x = 2, equation weights = [4, 1, 5, 8]
Output (English): 54