How do you plan to solve it?
This is a fairly straightforward exercise; the key is just getting familiar with the syntax. The idea is to wire y to input a combinatorially so that y will be equal to the input a.
module top_module(input a, output y); assign y = a; endmodule