<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _equivalent_expansions(expansion1, expansion2):
 """Compare two expansions."""

    words1 = _words(expansion1)
    words2 = _words(expansion2)

    simplified_versions = []

    if words1 == words2:
        return True

    for words in (words1, words2):
        store = []
        for word in words:
            store.append(word[:5])
        simplified_versions.append("".join(store))

    return simplified_versions[0] == simplified_versions[1]