Task: Mathematics
Input (English): x = 6, equation weights = [5, 8]
Output (English): 38