SQL Puzzle | Add rows to the data as per the value present in a column

In this puzzle you have to add extra rows to data as per the value present in in the column MultiplyData. If the value in the MultiplyData = 2 then that rows has be added twice including the original row. For more details please check the sample input and expected output.