how to solve this op-amp circuit?
Your circuit doesn't have negative feedback: -

Therefore it acts as a comparator with hysteresis and hence, the output changes state when the input voltage passes the hysteresis threshold points shown below in red dots: -

The non-inverting version is also known as a Schmitt trigger circuit: -