I'm sorry if this is a duplicate but as you may imagine searching for "how to" yields gazillions of results, none of which is what I'm looking for. If the problem lies in my search skills instead, please do let me know.
So the question: how can generic expressions like
How to cook a perfect cake
or
How to find a new job
and so on be translated? These forms are often found, for example, as titles of articles or books.
My direct attempt using the infinitive sounds terrible (though it may well be right for what I know):
1) Wie einen neuen Job zu finden
So what's left is using the impersonal form with "man":
2) Wie man einen neuen Job finden kann
but again I'm not too convinced. Is there some other possibility?