Write Prolog clauses to express the following three relationships, given the parent/2 relationship:
grandparent/2,
sibling/2,
cousin/2.
For example, if parent(Jill, Amy) and parent(Amy, Grace) are facts, the query grandparent(Jill, X) would return Grace. Grace is the grandchild of Jill.