50% of a number is equal to 7% of another number. The sum of these numbers is 171. What is the smaller of the two numbers?
A temporary worker engaged on a contract basis is paid $10 every day he attends work and $5 is deducted from his salary as a fine every day he remains absent. If in a month of 30 working days, he earns $240, for how many days was he absent from work that month?