His duty is to ...The duty of him is to...It it his duty to....
It's his duty to......
The duty of him is to design a computer program.