Martha loves to wear socks with crazy patterns. She finds a great deal for these kinds of socks at her favorite store, Rock Those Socks. There is a proportional relationship between the number of pairs of socks that Martha buys, x, and the total cost (in dollars), y.
Martha can buy 2 pairs of socks for $6. Write the equation for the relationship between x and y.