In English, there is the construction how to + [infinitive], e.g. in:
I don't know how to do such and such thing.
How to this and that is a different matter.
How to win friends and influence people.
Is there some equivalent in German? Is wie zu valid?