A function rule takes an input, n, and converts it into an output, y, by increasing one half of the input by 10. Determine the output for this rule when the input is 50 and then write an equation for this rule.