square and triangle working