Lid Swithc

I Wont To Replace Broken Lid Switch W/part # Ap3100003 Lid Switch. Prpoblem Is I Cant Figure Out How To Take Off Top Of Cabinet To Get To The Switch. Can Ya Help Me?

This may help
YouTube - Washing Machine Lid Switch Replacement Whirlpool and Kenmore (part #3949247)

Also here is a manual for direct drive washers
https://secured.whirlpool.com/Service/SrvTechAdm.nsf/2cd44500d572193285256a45004fd9d6/f7e2147fa98b28cf85257122007475cb/$FILE/L-55.pdf