'How to place BLANKS in Scrabble board when it affects the points in a play

Is there a general rule in scrabble that states that optimal points be awarded to plays dealing with BLANKS and premium letter squares?

Let's say for example that my rack has the following:

RACK

So we use some tiles to create a word PIZZA. Obviously I only have one Z, so it makes sense to use the BLANK on the non-premium square to create the word. The issue is where the BLANK is placed!

SCRABBLE BOARD

Is this left up to the discretion of the player to put the BLANK in the correct place or do the rules mandate its placement based on giving the play the most points?

I can see some strategic reasons why placing the blank will differ from scenario to scenario but just want to understand how this works for the rules.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source