How do you plan to solve it?
module brake_light ( input brake_pedal, output reg brake_light ); always @(*) begin if (brake_pedal) brake_light=1; else brake_light=0; // Write solution here using if statement end endmodule