Ok, thanks, that explains it. I read your posts as saying the parts were in the other order, but I see now it was ambiguous.
Also, "get a, b" is not in the actual question. That clears up the puzzle that there is no provided coordinate system.
Neither does it say anything about resolving into components. It only asks you to find components in two given directions.
Various responses in this thread have been correct in themselves but addressing different tasks. I'll try to clarify.
You can find the component in the direction of ##\vec a## as
@kuruman described in post #2. Independently, you can find the component in the direction of ##\vec b## by the same method. But those two will not add up to equal the original vector, so it does not constitute
resolving into components. You added that word in post #1, which has created all the confusion.
You can resolve the force into components in the directions of non perpendicular ##\vec a, \vec b##, but it requires a different method. You cannot do it independently for the two directions. I don’t think this is what the question is asking for.