Estimate X and Y which best fit the following set of equations:

X*Y=Z

in which

X: n by 1 comlumn vector (unknown)

Y: 1 by 1 unknown constant

Z: n by 1 measured column vector (known)

n is constant and can be as large as expected.

Could you please tell me what method (either numerical or algebra form) I can use to solve the above-mention problem or any suggestion?

THanks a lot.