Unyscape Infocom Interview Question

Star Pattern logic based questions?