If Agnes spent $10 for 5 feet of molding, we can find the cost per foot by dividing the total cost by the number of feet:
Cost per foot = Total cost / Number of feet
Cost per foot = $10 / 5 feet
Cost per foot = $2 per foot
Since 1 yard is equal to 3 feet, Greg bought 3 feet of molding. To find out how much Greg spent, we multiply the cost per foot by the number of feet Greg bought:
Greg's spending = Cost per foot * Number of feet Greg bought
Greg's spending = $2 per foot * 3 feet
Greg's spending = $6
So, Greg spent $6 on 1 yard of the same molding.