First write the statement is the 'If - then' form.

IfA positive integer is a prime numberthenit doesn't have divisor past 1 and itself.

Now the converse: If A positive integer doesn't have divisor past 1 and itself then it is a prime number .

You do the contrapositive.