Answer:
s = t - m
Explanation:
Assuming s equals the amount of time it would take Sam, subtracting the amount of time it takes Mark from the time it takes them together would give you the time Sam would take since with Sam's help, the time would equal t hours. Then without Mark's help is how long it would take him.