Since you don't want a complete solution, I'll just give you a list
of functions that achieve it:
transpose-regions
, point
, line-beginning-position
, line-end-position
.
That is all you need assuming that you've navigated to = by hand.
move-beginning-of-line
and re-search-forward
if you want to navigate to = in code.