Two days after the unbeaten 49ers sent the Los Angeles Rams to their third consecutive loss, the two-time defending NFC West champions reacted.

The Rams traded away cornerback Marcus Peters -- who intercepted Jimmy Garoppolo in the end zone Sunday and acquired linebacker Kenny Young and a fifth-round draft pick. Then, the Rams put the finishing touches on a trade to acquire disgruntled cornerback Jalen Ramsey from the Jacksonville Jaguars.

The Rams sent first-round picks in 2020 and ’21 to Jacksonville, along with a fourth-round selection in ’21.

When Ramsey asked for a trade last month, the 49ers were not interested in paying the price, NBC Sports Bay Area reported. General manager John Lynch and coach Kyle Shanahan were not willing to give up the high draft picks, coupled with the big contract that Ramsey will be seeking when his contract expires.

Ramsey is a great player, of course. He scheduled to make $13.7 million in 2020, the final year of his deal. The Rams are parting ways with two first-round draft picks for a player they have under contract for only one-and-a-half seasons.

If the 49ers’ 20-7 win over the Rams on Sunday showed anything, it’s that the Rams need a lot of help in front of quarterback Jared Goff. The 49ers’ defensive line thoroughly overmatched the Los Angeles offensive line. Goff looked shaken and unsteady. The Rams managed just 48 net passing yards.

The Rams have an obvious need on their offensive line -- especially with Andrew Whitworth, a 14-year veteran, lining up at left tackle. This could be the end of the road for him.

With the college game producing a dearth of offensive linemen, any team that needs help at tackle must invest a high draft pick to get a talented player at that position.

Los Angeles made the decision to acquire one of the league’s best cornerbacks for the next one-and-a-half seasons at the expense of, potentially, beefing up their offensive line with a player who could provide a counter-balance to the 49ers’ strength on the defensive line.

Nick Bosa, Dee Ford, DeForest Buckner and Arik Armstead have reason to be excited about facing this collection of Rams offensive linemen for a while.

[RELATED: 49ers' Breida impressed by defense in win against Rams]

Can Ramsey cover tight end George Kittle? That’s about the only way Ramsey can help the Rams in head-to-head matchups against the 49ers. After all, it does not really make a difference at this point with the 49ers' offense if Dante Pettis, Marquise Goodwin or Deebo Samuel are held to low numbers.

Lynch and Shanahan have put together a long-term plan designed at doing their best to ensure the 49ers can remain competitive on a yearly basis. This trade by an NFC West opponent is a big step toward them achieving that goal.