Hello to all,

I'm struggling to set up an equation for the following word problem:

A farmer has a roll of 100ft. fencing. He wants to enclose a rectangular patch of sides X and 50-X. For what values of X will the area of the patch be 600ftsq.?

PLEASE HELP. Thanks