code: def Scale(x, y=None):
      """Return the identity transformation scaled by x, y. The 'y' argument
      may be None, which implies to use the x value for y as well.
  
      :Example:
              >>> Scale(2, 3)
              <Transform [2 0 0 3 0 0]>
              >>>
      """
      if y is None:
          y = x
      return Transform(x, 0, 0, y, 0, 0)
  
imports: import math
  from typing import NamedTuple
  from dataclasses import dataclass
label_desc: Use image node_id 3 for calling a global function with example usage: Scale(x, y) and returns: Transform