First, start with this..
[ Tab from: https://www.guitartabs.cc/tabs/j/jj_cale/cocaine_tab.html ]
|---------------------------------------------------------------------|
|---------------------------------------------------------------------|
|---9----9--7----9--------------9----7--------------------------------|
|---9----9--7----9--------------9----7--------------------------------|
|---------------------9-~-11------------------------------------------|
|---------------------------------------------------------------------|
x6
Then this..
|---------------------------------------------------------------------|
|---------------------------------------------------------------------|
|---------------------------------------------------------------------|
|---9----7----5----4--------------------------------------------------|
|---7----5----3----2--------------------------------------------------|
|---------------------------------------------------------------------|