Answer:
23 weeks
Explanation:
Let j and m represent the weights of the competitors, and let x represent the number of weeks of interest.
José's weight can be described by ...
... j = 180 +2x . . . . . . José weighs 180 and gains 2 lbs per week
Marty's weight can be described by ...
... m = 249 -x . . . . . . Marty weighs 248 and loses 1 lb per week
The competitors will weigh the same when ...
... j = m
... 180 +2x = 249 -x . . . substitute for j and m
... 3x = 69 . . . . . . . . . add x-180
... x = 23 . . . . . . . . . . divide by the coefficient of x
José and Marty will weigh the same after 23 weeks.