Let's begin by identifying key information given to us:
Price sold: bike + accessories = $405
If he received 8 times as much money for the bike as he did for the accessories: bike = 8 * the accessories
Let "the accessories" be represented as y, "bike" be represented as x:
x = 8y
x = 8y
x = 8y
x = 8 * 45 = $360
Anthony purchased the bike for $360