get this map ?

For the first droof, downdash onto the slope holding down/right. Then release all directions before touching the wall to magnetize to it. For the second, downdash (holding only down) right before you touch the wall.