It's easier to understand it when you see it, but I'll try to explain in a very easy to remember way.
#1 best place for your king is directly in front of enemy pawn. If you can't have that square...
#2 best place for your king is 2 squares away from the pawn, still blocking it on the same file. If you can't have that square...
#3 best place for your king is to the same file the enemy king goes.
Take #1 place whenever possible. If you can't have #1, take #2. If you can't have #1 or #2, take #3
This is what I mean: https://prnt.sc/hy5i70
Hope this helps. Your king should never go anywhere else relative to the pawn.
It's easier to understand it when you see it, but I'll try to explain in a very easy to remember way.
#1 best place for your king is directly in front of enemy pawn. If you can't have that square...
#2 best place for your king is 2 squares away from the pawn, still blocking it on the same file. If you can't have that square...
#3 best place for your king is to the same file the enemy king goes.
Take #1 place whenever possible. If you can't have #1, take #2. If you can't have #1 or #2, take #3
This is what I mean: https://prnt.sc/hy5i70
Hope this helps. Your king should never go anywhere else relative to the pawn.