(a). will give the output as:
(b). will give the output as:
Justification: In the first statement x represents a list so when a list is multiplied by a number, it is replicated that many number of times.
The second y represents a series. When a series is multiplied by a value, then each element of the series is multiplied by that number.