I'm not sure how to solve for these types of algebra equations. Could you please tell me the steps required?

1. 170(x) - 70 (1-x) = 0. Solve for x. X should be 0.292 but I am having trouble finding out how.

The next equation:

2. -6(0.5) - 20(x) + 14(1-0.5-x) = 0

Thanks so much!