public class DrawFigures1 {
    public static void main(String[] args) {
	// They all need to be put in seperate methods for programs decomposition
        System.out.println("   /\\");
        System.out.println("  /  \\");
        System.out.println(" /    \\");
        System.out.println(" \\    /");
        System.out.println("  \\  /");
        System.out.println("   \\/");
        System.out.println();
        System.out.println(" \\    /");
        System.out.println("  \\  /");
        System.out.println("   \\/");
        System.out.println("   /\\");
        System.out.println("  /  \\");
        System.out.println(" /    \\");
        System.out.println();
        System.out.println("   /\\");
        System.out.println("  /  \\");
        System.out.println(" /    \\");
        System.out.println("+------+");
        System.out.println("|      |");
        System.out.println("|      |");
        System.out.println("+------+");
        System.out.println("|United|");
        System.out.println("|States|");
        System.out.println("+------+");
        System.out.println("|      |");
        System.out.println("|      |");
        System.out.println("+------+");
        System.out.println("   /\\");
        System.out.println("  /  \\");
        System.out.println(" /    \\");
    }
}

@@ -141,17 +141,206 @@
 osition%0A
- 
+%09%09draw_tri_up();%0A%09%09draw_tri_down();%0A%09%09System.out.println();%0A%09%09draw_tri_down();%0A%09%09draw_tri_up();%0A%09%09System.out.println();%0A%09%09draw_tri_up();%0A%09%09%0A%09%09draw_US_flag();%0A%09%09%0A%09%09draw_tri_up();%0A%09%09%0A%09%09%0A%09%09%0A /*
        S
@@ -1495,13 +1495,764 @@
 %5C%22);
-%0A    %7D
+ %0A%09%09*/%0A    %7D%0A%09%0A%09public static void draw_tri_up() %7B%0A%09%09System.out.println(%22   /%5C%5C%22);%0A        System.out.println(%22  /  %5C%5C%22);%0A        System.out.println(%22 /    %5C%5C%22);%0A%09%7D%0A%09%0A%09public static void draw_tri_down() %7B%0A%09%09System.out.println(%22 %5C%5C    /%22);%0A        System.out.println(%22  %5C%5C  /%22);%0A        System.out.println(%22   %5C%5C/%22);%0A%09%7D%0A%09%0A%09public static void draw_US_flag() %7B%0A%09%09System.out.println(%22+------+%22);%0A        System.out.println(%22%7C      %7C%22);%0A        System.out.println(%22%7C      %7C%22);%0A        System.out.println(%22+------+%22);%0A        System.out.println(%22%7CUnited%7C%22);%0A        System.out.println(%22%7CStates%7C%22);%0A        System.out.println(%22+------+%22);%0A        System.out.println(%22%7C      %7C%22);%0A        System.out.println(%22%7C      %7C%22);%0A        System.out.println(%22+------+%22);%0A%09%7D%0A%09%09
 %0A%7D%0A

Add Procedural Decomp