I need to figure out exactly how to make this figure while coding.

Answer:
class Main {
public static void main(String[] args) {
System.out.println(" _");
System.out.println(" / \\");
System.out.println("| |");
System.out.println(" \\ _ /");
}
}
Explanation:
Backslashes have a special meaning in string literals. You have to escape them with a backslash, hence the double backslash.