direct variation and linear functions