LM393 Positive Hystereses Calculation

My god... Time for pictures I guess:

Now, what should I do to solve this?