The family tree of the Simpsons-Bouvier family is given below.

Write following prolog relations.
father(X,Y): X is the farther of Ymother(X,Y): X is the mother of Ymale(X): X is malefemale(X) : X is femaleparent(X,Y): X is a parent of YUse the first name of the person as atom name, Homer J. Simpson should be represented as homer.