2 buttons 4 functions help

I think i might have it.