After a few days of working on a problem with your girlfriend, the term for finally resolving the situation is known as finding a solution.
The correct answer is "a solution." In this context, a solution refers to finding a resolution or answer to the problem or situation that you and your girlfriend have been working on. It implies that you have reached a successful outcome or resolved the issue at hand.