enter picture description right here

How can I create this practice factor(programmatically)?