From the verb phrase olla yhtä mieltä (literally “to be of one mind”); yhtä (“of one”) + mieltä (“mind”) (partitive singular).
yhtä mieltä