Issues with attempting to Create a Compound Index

I read the “Create a Compound Index” and i try this too without success. I want option for duplicate data in my fields, how can i do this?