def METHOD_NAME(data):
    """
    Parameters of the question. These are usually randomized.
    """
    a = 100  # spacing along the beam
    w = 1.5  # distributed load
    x1 = 80
    y1 = 100
    data["params"]["a"] = a
    data["params"]["x1"] = x1
    data["params"]["x2"] = x1 + 3 * a
    data["params"]["x3"] = x1 + a
    data["params"]["y1"] = y1
    data["params"]["xm"] = x1 + a / 2
    """
    ######################################################################
    CREATING THE SHEAR DIAGRAM
    ######################################################################
    """
    """
    Origin of V-plot
    This is the origin of the axes wrt the (top,left) of the canvas
    """
    # origin
    V0 = [x1, 400]
    # data params (no need to change this)
    data["params"]["V_origin"] = create_dict_xy_coord(V0)
    """
    All the following positions are measured wrt the origin of the V-plot
    """
    """Interval 1:"""
    # first point of the interval
    p1 = [0, 5 * w * a / 6]
    # second point of the interval
    p2 = [a, -w * a / 6]
    # data params (no need to change this)
    data["params"]["V1"] = (
        "[" + create_dict_xy_coord(p1) + "," + create_dict_xy_coord(p2) + "]"
    )
    """Interval 2:"""
    # first point of the interval
    p1 = [a, -w * a / 6]
    # second point of the interval
    p2 = [3 * a, -w * a / 6]
    # data params (no need to change this)
    data["params"]["V2"] = (
        "[" + create_dict_xy_coord(p1) + "," + create_dict_xy_coord(p2) + "]"
    )
    """ Defining labels for the axes """
    # x-axis label
    loc_x = [a, 3 * a]  # location of the text
    lab_x = ["a", "3a"]  # text
    # y-axis label
    loc_y = [-w * a / 6, 5 * w * a / 6]  # location of the text
    lab_y = ["-wa/6", "5wa/6"]  # text
    # data params (no need to change this)
    labels = "["
    for i in range(len(loc_x)):
        labels += create_dict_labels("x", loc_x[i], lab_x[i])
        labels += ","
    for i in range(len(loc_y)):
        labels += create_dict_labels("y", loc_y[i], lab_y[i], offsetx=-20)
        if i != len(loc_y) - 1:
            labels += ","
    labels += "]"
    data["params"]["label_V"] = labels
    """ Defining the supporting lines"""
    line_perp_x = [a, 3 * a]
    line_perp_y = []
    sup_line = "["
    for i in range(len(line_perp_x)):
        sup_line += '{"x": ' + str(line_perp_x[i]) + "}"
        sup_line += ","
    for i in range(len(line_perp_y)):
        sup_line += '{"y": ' + str(line_perp_y[i]) + "}"
        sup_line += ","
    sup_line = sup_line.rstrip(",")
    sup_line += "]"
    data["params"]["sup_line"] = sup_line
    """
    ######################################################################
    CREATING THE MOMENT DIAGRAM
    ######################################################################
    """
    """
    Origin of M-plot
    This is the origin of the axes wrt the (top,left) of the canvas
    """
    # origin
    M0 = [80, 800]
    # data params (no need to change this)
    data["params"]["M_origin"] = create_dict_xy_coord(M0)
    """
    All the following positions are measured wrt the origin of the V-plot
    """
    """Interval 1:"""
    scale = 0.02
    # first point of the interval
    p1 = [0, 0]
    # second point of the interval
    p2 = [a, scale * w * a * a / 3]
    # data params (no need to change this)
    data["params"]["M1"] = (
        "[" + create_dict_xy_coord(p1) + "," + create_dict_xy_coord(p2) + "]"
    )
    # gradient of the first point of the interval
    g1 = scale * 5 * w * a / 6
    # gradient of the second point of the interval
    g2 = -scale * w * a / 6
    # data params (no need to change this)
    data["params"]["dM1"] = "[" + str(g1) + "," + str(g2) + "]"
    """Interval 2:"""
    # first point of the interval
    p1 = [a, scale * w * a * a / 3]
    # second point of the interval
    p2 = [3 * a, 0]
    # data params (no need to change this)
    data["params"]["M2"] = (
        "[" + create_dict_xy_coord(p1) + "," + create_dict_xy_coord(p2) + "]"
    )
    """ Defining labels for the axes """
    # x-axis label
    loc_x = [a, 3 * a]  # location of the text
    lab_x = ["a", "3a"]  # text
    # y-axis label
    loc_y = [
        scale * w * a * a / 3,
        scale * w * a * a / 6,
        -scale * w * a * a / 3,
        -scale * w * a * a / 6,
    ]  # location of the text
    lab_y = ["wa^2/3", "wa^2/6", "-wa^2/3", "-wa^2/6"]  # text
    # data params (no need to change this)
    labels = "["
    for i in range(len(loc_x)):
        labels += create_dict_labels("x", loc_x[i], lab_x[i])
        labels += ","
    for i in range(len(loc_y)):
        labels += create_dict_labels("y", loc_y[i], lab_y[i], offsetx=-20)
        if i != len(loc_y) - 1:
            labels += ","
    labels += "]"
    data["params"]["label_M"] = labels
    """ Defining the supporting lines"""
    line_perp_x = [a, 3 * a]
    line_perp_y = [
        scale * w * a * a / 3,
        scale * w * a * a / 6,
        -scale * w * a * a / 3,
        -scale * w * a * a / 6,
    ]
    sup_line = "["
    for i in range(len(line_perp_x)):
        sup_line += '{"x": ' + str(line_perp_x[i]) + "}"
        sup_line += ","
    for i in range(len(line_perp_y)):
        sup_line += '{"y": ' + str(line_perp_y[i]) + "}"
        sup_line += ","
    sup_line = sup_line.rstrip(",")
    sup_line += "]"
    data["params"]["sup_line_M"] = sup_line
    return data