Task: Mathematics
Input (English): x = 4, equation weights = [3, 6, 5, 7]
Output (English): 315