<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def frombase(path1, path2):
 # type: (Text, Text) -> Text """Get the final path of ``path2`` that isn't in ``path1``. Arguments: path1 (str):
 A PyFilesytem path. path2 (str):
 A PyFilesytem path. Returns: str: the final part of ``path2``. Example: 'baz/egg' """

    if not isparent(path1, path2):
        raise ValueError("path1 must be a prefix of path2")
    return path2[len(path1) :]