Javascript Document Write (help me please..) : i have a homewrk. write javascript ( Documentwrite)
cn help me ? please..

        <html>
    <head>
    
    <script type="text/javascript">
    function myFunction() {
    
    var x1 = document.test.x1.value;
    var y1 = document.test.y1.value;
    
    var x = parseInt(x1)*parseInt(y1)
    
    document.getElementById("x").value = x;
    }
    </script>
    </head>
    
    <body>
    <br>
    <form name="test">
    inpout<br><br>
      <input type="number" name="x1" id="x1" style="width:70px"> X * 
      <input type="number" name="y1" id="y1" style="width:70px"> Y
      
    <br><br>
        <input type="button" name="Solve" value="Solve" onclick="myFunction()" ><br>
    <br><br>
    OutPut =<output type="number" name="x" id="x" style="width:100px"></output> <br><br>
    
    Documen.write X = .... Y =...
    </form>
    </center>
    </body>
    </html>

i wn write X = ...  and Y = .... sme input on form... 
help please