The first step is to determine how much square footage you need. You can do this by riding the total area of the two rugs.
12 x 23=276 sq. feet
But since you need two:
276 x 2=552 sq. feet
Now, you can calculate the cost.
552 sq. feet x $6=$3,312