Added multiplybyx for line