Solve method with some unresolved issues

If anyone could figure this out, it would be fantastic! I'm having
problems with how we would iterate through the vector in order to find
the operations in the first place.