Take another look at the sentence:
Michael rode his bike to the beach, which was squeaky with rust.
Which was squeaky with rust, a relative clause, comes right after beach, an illogical target. Bicycles, not beaches, get squeaky with rust!
Before you continue, review the rules for misplaced and dangling modifiers.