how to use K2 games Games parallax background

C#
//Focal point layer (ground)
draw_background_tiled_horizontal(
    bg_ex_3_3,
    -view_xview[view_current] * 1.5,
    -view_yview[view_current] + 700
);
//Layer 1
draw_background_tiled_horizontal(
    bg_ex_3_0,
    view_xview[view_current] / 1.5,
    (view_yview[view_current] / 2.5) + 175
);
 
//Layer 2
draw_background_tiled_horizontal(
    bg_ex_3_1,
    view_xview[view_current] / 2,
    (view_yview[view_current] / 5) +250
);
//Layer 3
draw_background_tiled_horizontal(
    bg_ex_3_2,
    view_xview[view_current] / 2.5,
    (view_yview[view_current] / 10) + 300
);

Source

Also in C#: