<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def relative_to_contrib(diff, project):
 """Compute relative path of changed file to contrib dir Args: diff (git.diff.Diff):
 file diff project (Project):
 project Returns: Path """

    path = pathlib.Path(diff.b_path)
    contrib_path = project.contrib_module_path
    return path.relative_to(contrib_path)