hello. :)
If we look at the problem of the producer, he is interested in maximizing profit subject to technological constraints:
max p y - w x subject to y = f(x)
which is equivalent to
max p f(x) - w x
Whether you solve the problem given above or the one with double the prices
i.e. max 2p f(x) - 2w x
the FOCs will not change and hence the optimal employment will not change, thus no change in optimal output.
:)