applying direct variation to a proportion