The squared error will be 4. You can calculate this using this formula:
squared error = (actual value - predicted value) 2. Read more