As the error message said, preceding a method (homeValue()) with a class name (House) only works if homeValue() is a static method, i.e.
public static int homeValue()
otherwise, you have to instantiate the House class first, i.e.
House house = new House();
int total = house.homeValue();