The Trim Extend Two Entities function is used to trim or extend two entities so they end at a common intersection. To perform the function, you select geometry in the graphics area.
How to Trim or Extend Two Entities