I want to conduct a one factor ANCOVA with one covariate and then I want to create contrasts of correlation of covariate with group 1 vs group 2 vs group 3

I want to conduct a one factor ANCOVA with one covariate and then I want to create contrasts of correlation of covariate with group 1 vs group 2 vs group 3. How would the F contrasts look like and how to set up the second level design in SPM?