It is necessary to set brim when printing it otherwise it's easily to fall down. It's better to print both of them together so that each layer has enough time to cool down and doesn't curve so much.
The total plastic consumption is 152 grams so the total cost is just $3.24 based on the filament price which is $21.3/kg.